The legend has it that, once Sri Surya Bhagawan (Sun God) was caught with Brahma Dhosha. To get rid of his Dhosha, Sri Surya Bhagawan installed and worshipped Lord Shiva under a tree called ‘Vanni Maram’ here. He also created a pond in front of the temple for worship.
Lord Shiva, who was happy with the prayers, appeared before the Sun God and granted His wish. As Lord Shiva was worshipped by Surya Bhagawan, He came to be known as ‘Sri Raveeswarar’ (Ravi means Sun in Sanskrit). Also Lord Shiva named this place as ‘Baanu Puram’ (Banu means Sun).
It is also said that Rishi Sri Veda Vyasar visited this place and worshipped the God here and have sung praises on the Lord. As Sri Vedha Vyasar stayed in this place and worshipped the Lord, this place came to be known as ‘Vyasarpadi’.
The temple is situated amidst the town, facing east. The temple is beautifully done that one can worship the Lord and the Goddess from the same place. The main deity Sri Raveeswarar is facing east from the sanctum. The Aavudaiyar (base) of the Lingam is of square in shape. Goddess is Sri Maragadhaambika beautifully decorated in a separate sanctum facing the South.
There is an idol of Sri Surya Bhagawan just outside the sanctum, seen worshipping the Lord. Sri Kaala Bairavar is present adjacent to the Goddess sanctum facing South.
There is also a small sanctum just behind the sanctum for Sri Vedha Vyasar.
There is a nice temple pond in front of the temple created by Sri Surya Bhagawan, called ‘Surya Pushkarini’.
Lot of pilgrims visit and worship the Lord here for want of relief from various illnesses and Dhoshas.