After loss of the hydrogen, helium and other hydrogen-containing gases from early Earth due to the Sun's radiation, primitive Earth was devoid of an atmosphere. The first atmosphere was formed by outgassing of gases trapped in the interior of the early Earth, which still goes on today in volcanoes.