What does "tramway" mean?

Tramway: A railway laid in the streets of a town or city, on which cars for passengers or for freight are drawn by horses; a horse railroad.

Sources