What Affects Temperature?

There are several factors that affect temperature. The sun is a form of light energy that plays a direct role of temperature. Global warming is also another growing factor of the altering temperature changes.