If you've been on a streetcar in San Francisco or a trolley in Philadelphia, you've ridden a tram. The word tram was originally a Scottish term for the wagons that are used in coal mines, stemming from a Middle Flemish word meaning rung or handle of a barrow.