Etymology
Today it means: An area, open to the sky, partially or wholly surrounded by walls or buildings. Full definition →
From court + yard.
Etymology from Wiktionary, CC BY-SA 4.0.