Atmospheric thermodynamics is the study of thermodynamics as applied to atmospheres. It describes vertical stratification of the atmosphere as well as phase transitions of water.