Prior to the invention of the steam locomotive, people when they wanted to travel would either walk or use a horse. Even with a horse one could travel 30 miles a day at the max and that would be a long day. But then the railroad changed things. The first passenger cars were freight box cars with wooden seats. George Pullman, after sleeping in a seat on one of the before mentioned cars, got an idea to build a sleeping car that by day would fold up into seats and by night, into beds. By 1860 the idea caught on and better, more luxurious cars came out so that by the turn of the century they became 5 star luxury hotels on wheels.