The earth rotates around the sun
When we are closer to the sun it is warmer and when it is colder outside it means that we are farther away from the sun
The earth has a tilted axis that is why there is more hours of day light in the summer and less in the winter