The Earth's atmosphere is divided into distinct layers based on temperature gradients, each playing a crucial role in supporting life and influencing weather and climate. These layers, from the surface upwards, are the troposphere, stratosphere, mesosphere, thermosphere, and exosphere, each characterized by unique properties and functions.