The gas and aerosol envelope that extends from the ocean, land, and ice-covered surface of a planet outward into space; used especially in reference to the earth where it is held by the force of gravity.