Why the extra quarter day exists
Earth does not complete its orbit around the sun in exactly 365 days. The actual time is approximately 365 days, 5 hours, 48 minutes, and 46 seconds. This small extra amount adds up over time. Without accounting for this difference, the calendar would slowly drift out of sync with the seasons.
How leap years fix the problem
By adding one extra day (February 29) every 4 years, we add about 24 hours to the calendar system. This almost perfectly balances out the extra quarter day that accumulates each year. This keeps the calendar aligned with Earth's actual position in its orbit around the sun.
The century year exception
Because the leap year system adds slightly too much time, there is an exception rule. Years that are divisible by 100 (like 1800, 1900, 2000) are not leap years. However, years divisible by 400 (like 2000) ARE leap years. This fine-tuning makes the calendar even more accurate.
Why this matters
Without leap years, the calendar would gradually shift relative to Earth's seasons. After 100 years, the calendar would be off by about 24 days. This would mean that winter would start on different dates each century, making it impossible to accurately plan agriculture, holidays, and other activities based on seasonal changes.
Historical context
The Julian calendar, used in ancient Rome, had a simple leap year rule with one leap day every 4 years. The Gregorian calendar, introduced in 1582, added the century year exception to be more precise. Most countries now use the Gregorian calendar system.