A bit more detail
Planets, asteroids, and comets follow elliptical paths, meaning their distance from the sun changes constantly. When an object reaches perihelion, it experiences the highest temperatures and greatest gravitational pull from the sun.