Rameswara means "Lord of Rama" in
Sanskrit, an epithet of
Shiva, the presiding deity of the Ramanathaswamy Temple.[SUP][/SUP] According to Hindu epic
Ramayana,
Rama, the seventh
avatar of the god
Vishnu, prayed to Shiva here to absolve any sins that he might have committed during his war against the demon-king Ravana in Sri Lanka.[SUP][/SUP] According to the
Puranas (Hindu scriptures), upon the advice of
sages, Rama along with his wife
Sita and his brother
Lakshmana, installed and worshipped the
lingam (an iconic symbol of Shiva) here to expiate the sin of
Brahmahatya incurred while killing of the
Brahmin Ravana. To worship Shiva, Rama wanted to have the largest lingam and directed his monkey lieutenant
Hanuman to bring it from
Himalayas. Since it took longer to bring the lingam, Sita built a small lingam, which is believed to be the one in the sanctum of the temple.[SUP][/SUP] This account is not supported by the original
Ramayana authored by
Valmiki, nor in the Tamil version of the
Ramayana authored by Tamil poet,
Kambar (1180–1250 CE). Support for this account is found in some of the later versions of the
Ramayana, such as the one penned by
Tulasidas (15th century).[SUP][/SUP] Sethu Karai is a place 22 km before the island of Rameswaram from where Rama is believed to have built a floating stone bridge, the Ramsetu bridge, that further continued to Dhanushkodi in Rameswaram till Talaimannar in Sri Lanka. According to another version, as quoted in
Adhyatma Ramayana, Rama installed the lingam before the construction of the bridge to Lanka.
https://en.wikipedia.org/wiki/Rameswaram