1 Two gases make up the bulk of the earth's atmosphere: nitrogen (), which comprises 78% of the atmosphere, and oxygen (), which accounts for 21%. 2  Various trace gases make up the remainder. 3  Based on temperature, the atmosphere is divided into four layers: the troposphere, stratosphere, mesosphere, and thermosphere.