Trains on an Uphill Track
Trains that must travel uphill may use crown wheels instead of smooth wheels and the track the train must travel up may be a pinion. Gravity pulls the train downhill and if the train wheels weren't able to interlock with the track --- for example, if they were smooth --- the train would be likely to roll downward. Switzerland's mountainous landscape requires that many of its railways use a crown and pinion gear system.
Car Steering Wheel
In a car's rack and pinion steering system, the pinion is a round column with teeth running along its shaft. The pinion interlocks and runs along the rack at 90 degrees --- a collar holds it in place. The pinion connects with the steering column so when the steering wheel is turned, the pinion runs in the opposite direction. As the pinion runs along the rack in that direction, the rack moves under it in the opposite direction, which turns the wheels in the direction the driver is turning. The rack and pinion system is the most common steering equipment in cars at present.
Locking Doors on a Track
Rack and pinion systems are useful for doors or cutting mechanisms that must stay on a precise track. For example, the doors on many prison cells run on a rack and pinion system so they can't easily be pushed out. Placing an industrial cutting mechanism along a rack and pinion gear system is a safety measure because the interlocking gear ensures the pinion will be locked into traveling along a precise track.
Roller Coasters
Roller coaster cars run on rails when they are right-side-up, but in order to safely spin a roller coaster car, a four-track system is used. The car's bottom wheels continue to run on the roller coaster's rails but a crown and pinion gear system is used for spin control. As the car tilts into a spin, the crown wheels on the side of the car connect with the pinion running on that part of the roller coaster to direct and control the spin.