In Temple, primary deity of the temple is Lord Shiva (who is also known as Ramanathaswamy) in the form of lingam. There are two lingams inside the sanctum, one built by Goddess Sita from sand residing as the main deity Ramalingam and other one brought by the Lord Hanuman from Kailash called Vishwalingam. The Ramanathaswamy Temple is an architectural excellence, dravidian style of architecture built in the 17th century. The Ramanathaswamy Jyotirlinga Temple has twenty two Tirthas in its complex, Bathing in these Tirthas is a major aspect of the pilgrimage to Rameshwaram.
Ramanathaswamy Jyotirlinga Temple is closely linked with the great epos Ramayana. According to the Ramayana, Lord Rama, the seventh avatar of the god Vishnu, prayed to the god Shiva to absolve him of the sin of killing a Brahmin (the Ravana), committed during his war against the demon king Ravana in Sri Lanka. Lord Rama wanted to have a large lingam to worship Shiva. He directed Hanuman, the monkey lieutenant in his army, to bring a lingam from the Himalayas. When Lord Hanuman was late in bringing the lingam, the mata Sita built a small lingam out of the sand available in the seashore, which is believed to be the lingam in the sanctum.