The Scotch yoke mechanism converts rotational motion to reciprocating motion, or vice versa, using a sliding yoke with a slot that engages a pin on the rotating part. It is more efficient than a crankshaft at producing rotational motion as it spends more time at the high point of rotation and has fewer parts. The mechanism finds applications in control valves, hacksaws, reciprocating pumps, and toys where reciprocating motion is required.