how did the united states benefit from the creation of the railroad

how did the united states benefit from the creation of the railroad