Buckling is the lateral misalignment or distortion of rails caused by thermal stress. When temperature increases, rails expand and if constrained, develop compressive forces that can cause the track to suddenly shift sideways, creating dangerous kinks or misalignments.