The sun's radiant energy is what heats the Earth. Energy radiated by the Earth cools it. Without the proper balance of these, there would be no life on Earth as we know it.
Didn't find the answer you were looking for?