Wood 木 plus 交 for sound. The earliest sense was a wooden enclosure or pen, then a wooden frame used to correct things — 校 still means 'to check, proofread' in 校对 (read jiào). The meaning 'school' came later, from the ancient name for village schools.
Every Chinese student knows 校服 (school uniform) — usually a zip-up tracksuit worn from primary school to the last day of high school. 校长 is the principal and 校园 the campus; 校花 is the most beautiful girl in school.
Wooden 木 desks where students meet and mix 交 — SCHOOL.
校 has two readings: xiào for school, jiào for 'to check' — a proofreader is a 校对 (jiàoduì).