text: Vihāra generally refers to a Buddhist monastery for Buddhist renunciates, mostly in the Indian subcontinent. The concept is ancient and in early Sanskrit and Pali texts, it meant any arrangement of space or facilities for dwellings. The term evolved into an architectural concept wherein it refers to living quarters for monks with an open shared space or courtyard, particularly in Buddhism. The term is also found in Ajivika, Hindu and Jain monastic literature, usually referring to temporary refuge for wandering monks or nuns during the annual Indian monsoons. In modern Jainism, the monks continue to wander from town to town except during the rainy season (chaturmasya), and the term "vihara" refers to their wanderings.
  Vihara or vihara hall has a more specific meaning in the architecture of India, especially ancient Indian rock-cut architecture. Here it means a central hall, with small cells connected to it, sometimes with beds carved from the stone. Some have a shrine cell set back at the centre of the back wall, containing a stupa in early examples, or a Buddha statue later. Typical large sites such as the Ajanta Caves, Aurangabad Caves, Karli Caves, and Kanheri Caves contain several viharas. Some included a chaitya or worship hall nearby. The vihara originated as a shelter for monks when it rains.