Why are places closer to the equator warmer than places farther from the equator?

What are places closer to the equator warmer than places farther from to equator