A leap year (or intercalary year) is a year containing an extra day or month in order to keep the calendar year in sync with an astronomical or seasonal year. Seasons and astronomical events do not repeat at an exact number of days, so a calendar which had the same number of days in each year would over time drift with respect to the event it was supposed to track. By occasionally inserting (or intercalating) an additional day or month into the year, the drift can be corrected.
Leap years (which keep the calendar in sync with the year) should not be confused with leap seconds (which keep clock time in sync with the day).