Goa Gajah or Elephant Cave is located on the island of Bali near Ubud, Bali Indonesia. Built in the 9th century, it served as a sanctuary.