The earth requires 365 1/4 days to complete one revolution round the sun. But, for practical purposes, a year is taken as 365 days. The difference of 1/4 day in each year is adjusted once in four year and that year is taken 366 days. That year is called a leap year.