It takes the Earth 365.2422 days, on average, to make a full rotation around the sun. Approximately every four years, an extra day is added to February in order to make up for the extra time and keep us in line with the seasons.
You can read more interestng facts about the calendar:
What Is A Leap Year?
It's not really an extra day, but enjoy it anyway.