Dear student,
The gaps left between successive rails on a railway track, the reason is that the rails expand in summer. The gap is provided to allow for this expansion. If no gap is left, the expansion in summer will cause the rails to bend sideways. That will result in train accidents.
Regards