A courtyard is an enclosed area, often surrounded by walls or buildings, that is open to the sky. It can be used for a variety of purposes such as outdoor living space, garden, recreation area, or even parking lot. The term "courtyard" comes from the French word "cour," which means "yard." In medieval times, courtyards were common in castles and palaces where they served as a central gathering place for the household. Today, many homes feature a small courtyard or atrium that brings natural light into the interior spaces of the house while providing an outdoor living area.