Gear rack converts rotational motion into linear motion when a spur gear is run against it. It is essentially a gear with the teeth equally spaced on a straight line.