The Earth's atmosphere consists of five main layers: the troposphere, stratosphere, mesosphere, thermosphere, and exosphere. The troposphere contains around 75% of the atmosphere's mass and is where weather occurs. The stratosphere lies above the troposphere and contains the ozone layer, which protects the Earth from UV radiation. Temperatures increase with altitude in the stratosphere. The thermosphere is the second highest layer and can reach temperatures over 1500°C. It contains the ionosphere, which facilitates radio communications. The outermost layer is the exosphere, where the atmosphere merges into space.