Yes, you are correct. The closer a location is to the equator, the more energy it receives from the sun and therefore the warmer its air temperature will be. This is because the sun's rays hit the Earth's surface more directly near the equator, leading to more concentrated energy and heat. As you move away from the equator, the sun's rays hit the Earth's surface at a more oblique angle, leading to less concentrated energy and cooler temperatures. This is why tropical regions near the equator tend to be warmer and have more consistent temperatures throughout the year, while areas farther from the equator experience more seasonal temperature changes.