In Bali, Hindu temples known as "puras" are designed as open-air places of worship in a walled complex. The walls of

the complex have intricately decorated gates without doors for the entry of the devotee. The design and planning of the

sacred pura follows a square layout. According to the ancient Lontar texts a distinctive temple has been constructed,

consisting of three courtyards, separated by lower walls pierced by ornate gates. The outer courtyard is for secular

activities, with pavilions being used for gatherings, resting artists and musicians at festivals. Food stalls are set up here

during festivals. The central courtyard is a transition zone between the human and divine classes; Here Prasad is

prepared and temple items are kept. The inner courtyard is the site of temples and religious ceremonies. The temples are

known as meras and are square structures with brick bases and several pagoda-style thatched roofs; The number of

terraces denotes the position of the deity, and is always an odd number. Pura Ulun Danu Beratan is one of the nine

'Kahyang Jagat' temples of Bali. There are five different temples in the temple complex which are also dedicated to other Hindu deities.