Factors influencing thermal energy on Earth