The stratosphere (/ˈstrætəˌsfɪər, -toʊ-/) is the second layer of the atmosphere of the Earth, located above the troposphere and below the mesosphere. The stratosphere is an atmospheric layer composed of stratified temperature layers, with the warm layers of air high in the sky and the cool layers of air in the low sky, close to the planetary surface of the Earth. The increase of temperature with altitude is a result of the absorption of the Sun's ultraviolet (UV) radiation by the ozone layer. The temperature inversion is in contrast to the troposphere, near the Earth's surface, where temperature decreases with altitude.