just to round out the picture, freight trains in the US are a success story, they're heavily used by customers who make the companies profitable and self-sustaining.
passenger trains lose money and are heavily subsidized to stay afloat.
just in terms of where they fit into the national economy, freight trains are important and integral at every level, and passenger trains much less so, or only to small communities.