The formation of thymine dimers is initiated by UV radiation, particularly UV-B and UV-C rays. When UV radiation is absorbed by DNA, it excites the thymine bases, causing them to react with each other and form a dimer. This reaction is a major type of DNA damage induced by UV light.