A number of countries use a lunar calendar (based on the Moon, instead of the Sun, like our solar calendar is). They have leap years when they add an extra lunar month. Different calendars add the extra month in different ways. So a year which has 366 days instead of 365 days where the month of February has 29 days is called a leap year.