Gavi Lakshmi Narasimhaswamy cave temple in Denkanikottai is located at the top of hillock. Pandavas stayed in this cave during exile and worshiped. The then ruler of Denkanikottai Dharmavarma built the temple around the cave.
Read this post on srikri.com