The layers of gases that surround a planet.