The Earth is closer to the sun in January (perihelion) than in July (aphelion) due to the eccentricity of its elliptical orbit.