Railway, used in mountainous regions, that uses a toothed pinion running in a toothed rack to provide traction. The rack usually runs between the rails. Ordinary wheels lose their grip even on quite shallow gradients, but rack railways, like that on Mount Pilatus in Switzerland, can climb slopes as steep as 50% (1 in 2).