Here is your answer
Goa Gajah (elephant cave) and Goa Lawah (bat cave) are two frequently-visited historical sites in Bali that contain many significant meaning for Balinese Hindus.
Situated in Bedulu Village, Gianyar, Goa Gajah is believed to have been carved from a hillside as a monastery in the 11th century, though it wasn't rediscovered until 1923. The name of this cave is probably taken from the nearby Petanu River, which at one time was known as Elephant River, or possibly because the entrance to the cave resembles an elephant. It is used by the Balinese as a holy place for worshipping the God Shiva and his elephant-headed son Ganesha.