A gap should be left between two rails due to
allow contraction in summer
allow expansion in summer
allow expansion in winter
allow contraction in winter
due to the gap, expansion of metal during summer is fecilitated, else rails will bend after expansion