The layer of gas that surrounds the Earth, composed primarily of nitrogen, oxygen, and trace amounts of other gases.