A courtyard is an enclosed outdoor space surrounded by walls or buildings, often serving as a central gathering area within a structure such as a temple. This feature allows for natural light and ventilation, while also providing a sense of openness and connection to nature. Courtyards often play an important role in the design and function of temples, facilitating both social interaction and ritual activities.