The atmosphere can be divided into four main layers - the troposphere, stratosphere, mesosphere, and thermosphere - based on changes in temperature. The troposphere is the lowest layer that contains the air we breathe and where weather occurs. Above that is the stratosphere, which contains a protective layer of ozone. Next is the mesosphere, the coldest layer where temperatures drop down to -100°C. The outermost layer is the thermosphere, where temperatures continually rise with altitude. The atmosphere plays a crucial role in supporting life on Earth by regulating temperature, enabling the water cycle, and protecting the planet's surface.