Actually, the atmosphere has multiple layers and the temperature doesn’t decrease through all of them. In the bottom layer, like Sophie says, the air gets cooler as you rise (this is the troposphere). In the stratosphere the temperature gets warmer because of the presence of ozone which traps UV radiation from the sun. The temperature cools in the next layer (the mesosphere) and warms again in the top layer – the thermosphere, again because of gases like ozone.
Comments