Question: why do you think the atmosphere has different layers?
Answer: Different temperature gradients create different layers within the atmosphere. ... Because warm air rises and cool air sinks, the troposphere is unstable. In the stratosphere, temperature increases with altitude. The stratosphere contains the ozone layer, which protects the planet from the Sun's harmful UV radiation.