Inside the cave, paintings and statues depicting the Murugan and Valli legend are present.
According to legend, the god Murugan came across Valli guarding her father's millet field and fell in love with her.
He assumed the guise of an elderly man, and requested her to offer him food and drink, which were promptly granted.
Murugan solicited the help of his brother, Ganesha, who chased Valli in form of a mad elephant.
Murugan drove away the charging elephant and revealed his true form to her, and she grew infatuated with him.