When the train passes over a railway track, the whole weight of the train acts on the railway line beneath it. Due to large sized concrete sleepers, the force of weight spreads over a larger area and the pressure is less. As a result, the railway track can bear it.
