The Earth's atmosphere consists of several layers. The first layer from the surface is troposphere, followed by stratosphere, mesosphere, thermosphere, and exosphere.
From the space to the surface, the order is exosphere → thermosphere → mesosphere → stratosphere →troposphere.