Trains are a form of transport in (almost) all countries in the world. As one can expect, rates, speeds and quality standards will differ greatly from country to country!
Freighthopping used to be a big thing in especially the United States, but is less common today. (more info needed!)
A cheap way to get around by train in Europe during a certain period of time might be via Interrail.
- this is a stub, please add more information