A funicular, also known as a funicular railway, inclined railway, inclined plane, or cliff railway, is a type of self-contained
cable railway in which a
cable attached to a pair of
tram-like vehicles on rails moves them up and down a very steep
slope, the ascending and descending vehicles counterbalancing each other.
See more at Wikipedia.org...