Temperature in the Troposphere
The temperature gets colder as you go upward in the troposphere. Light from the Sun heats the ground. The warm ground gives off the heat as infrared "light". The IR energy heats the troposphere. The lowest part of the troposphere is the warmest because it is closest to the ground, where the heat is coming from.