The atmosphere is a layer of gases surrounding the Earth that protects life. It consists mainly of nitrogen and oxygen. The atmosphere prevents excessive radiation from reaching the Earth's surface, allowing life to survive. Mars has a thin atmosphere so it cannot support life like Earth. Ancient rivers and canyons on Mars show it may have been able to support life millions of years ago.