The thermosphere is the layer of Earth's atmosphere that still contains substantial molecules of heavier gases. It occurs below the outermost layer, the exosphere, which consi … sts mainly of a near-vacuum of hydrogen and helium.