Just as people can suffer sunburn or heat stroke from too much exposure to sunlight and hot temperatures, rail can bend or warp because of a blistering sun and sweltering temps. If the rail malformations known as a sun kink or track buckle aren't repaired in a timely manner, trains can derail.