The story of Lord Muruga is described in Skanda Purana. According to the legend, in the olden days the demon Soorapadman tortured the Devas, who went to complain to Lord Vishnu and Brahma. They assigned Kamadeva to awake Lord Shiva from his penance, who later gave birth to Kartikeya. Kartikeya killed Soorabadman and saved the devas. Muruga is depicted as the god of love and war. Kartikeya married Valli by love and married Deivayanai by winning the war held at Tiruchendur.Kaumaram is the sub-sect of Hinduism in which Kartikeya is worshipped as the supreme deity.
In Tamil literature five types of lands are explained. They are Kurinji (mountainous region), Mullai (forest region), Marutham (agricultural region), Neithal (coastal region) and Palai (desert region). Separate gods for these land types are clearly told in Sangam literature. According to the literature Lord Muruga is the god of mountainous region,.
Located in Dindigul District, the temple is build is on the top of Palani hills where 'Dhandayuthapani' is the main deity, in a meditating state, carrying a staff ('danda') as weapon ('ayutha') in his hands ('pani'). This is the place where Murugan resided after his feud with his family over a divine fruit. Here, the main deity is made out of an amalgam of nine minerals popularly called Navabashanam and was established by Saint Bhogar.
There is also a Murugan temple on the Palani hill bottom called 'Thiruaavinankudi', where the deity is known as 'Kuzhanthai Velayuthaswami' and was worshipped by Goddess Lakshmi ('Thiru' in Tamil), the sacred cow Kamadhenu ('Aa' in Tamil), the sun god Surya ('Inan' in both Tamil & Sanskrit), the earth goddess ('ku' in Tamil), and the fire god Agni ('Di' in Tamil), and has idols of all of them.
Located on the outskirts of Madurai on a hillock where Kartikeyan married Indra's daughter Deivanai. Nakkeerar worshipped Murugan in this shrine and is said to have worshiped Lord Shiva here as Parangirinathar.
Located on the sea-shore near Tuticorin amongst the remains of Gandhamadana Parvatam or Santhanamalai (Sandal Mountain). The temple commemorates the place where Murugan worshiped Shiva and won a decisive victory over demon Soorapadman.