Energy from the sun is transferred to Earth's surface. Some of that energy is then transferred to the air above the surface. The closer a location is to the equator, the more energy it receives from the sun. Therefore, a location's air temperature is affected by its distance from the equator.