The Kailasanathar Temple (meaning:Lord of the Cosmic Mountain), is built in the tradition of Smartha worship of Shiva, Vishnu, Devi, Surya (Sun), Ganesha and Kartikeya, in Hinduism, a practice which replaced Buddhism.