Why is There a Leap Year?

There is a leap year because we need keep the calendar year the same as the astronomical year. Leap year is used to keep our calendars aligned with earth moving around the sun so the seasons stay the same. Look here for more information: