As per Hindu legend, Parvathi was doing penance at this place to attain the blessings of her husband Shiva. She sought the help of Vishnu to help her in the cause. Vishnu appeared as Vamana with a conch and disc and radiated light as moon. It is believed that Vishnu appeared for Chandra (moon) and Shiva.