A CAM changes the input motion, which is usually rotary motion (a rotating motion), to a reciprocating motion of the follower. They are found in many machines and toys.
As the top rod moves to the left the bottom rod moves to the right. The bars move in opposite directions. Another way of describing this linkage is the direction of movement in one rod is reversed in the other rod. The fixed pivot is the centre of rotation.