In ancient times, the temple functioned as a place of worship for Hindus and Buddhists. In Hindu temples there are usually Lingga-Yoni remains, statues of Shiva, Vishnu, Brahma, Ganesha, Agastya, Durga and on the temple walls are carved reliefs of stories taken from Hindu religious scriptures.