How does a Rack and Pinion Work?

Rack and pinion is simply a couple of gears that convert motion from rotational motion to linear motion. The word ‘rack’ comes from the bar, loaded with teeth that does the conversion from the round gear.