The railroads contributed to urban growth during the second industrial revolution in a huge way. It helped to transport the commodities over a long distance very swiftly and also at a much cheaper rate. Local people could easily send their products to distance places via the railroads and this was not possible before the railroads were made. If they were transported by water, then the costing became high and the traders would not get any benefit at all. The railroads had a big part to play behind the invention of the telegraph machine.the telegraph lines and the railroads always went together.