Before the invention of railways, people relied on other means of transportation such as walking and using horses. Some railway tracks had already been placed for minecarts and hand cars, but the steam engine and other coal-powered locomotives were not yet invented.