what is the source of energy entering Earth's atmosphere?

Sun