A leap day is added to make the year 366 days long. It usually occurs once every four years. The Earth rotates once every 365 days, but in reality it takes 365.2422 days. Since there is about one extra day in four years, a leap day is added to make up for this.