The gaseous envelopes that surround planets, consisting of layers of different gases and varying in composition.