The Earth's orbit around the sun is not perfectly circular, but slightly elliptical. This means that the distance between the Earth and the sun changes throughout the year.
The Earth is closest to the sun in early January (perihelion) and farthest from the sun in early July (aphelion).