cable railway in which a cable moves permanently attached rail cars up and down a slope

A funicular is a railway that uses trains that are pulled by cables wound around a pulley. This makes them able to climb very steep slopes, like those on hills and mountains.

The Peak Tram in Hong Kong is a funicular railway.