The thin layer of gases that surrounds the earth is the: