trains can be used to carry people or freight over long distances on tracks