Atmosphere of Earth
The atmosphere gradually changed to mostly carbon dioxide and nitrogen. The lighter gases, like hydrogen and helium, cannot be held by the Earth's gravity, and would escape. For a long time (say two billion years or more), the atmosphere was dominated by carbon dioxide.