It takes 365 ¼ days for the Earth to revolve around the sun. The exact number of days it takes for Earth to revolve the sun is 365.2422 days and this is the reason why we have 365 days in a year. The remaining number of days which is .2422 is not included in our calendar, but we make up for this error by having leap years every four years.
The days it takes the Earth to orbit the sun affect our seasons – winter, spring, summer and fall – because, although the tilt of the Earth does not change as it orbits the sun, the place where the sun hits a particular area differs. It is winter in the Northern Hemisphere when Earth is closest from the sun and summer when it is far from the sun.