Over several millions of years of continuous rain ... Gases released from magma inside Earth collect to form an atmosphere probably composed of nitrogen, carbon dioxide, water vapor, methane ...