Carbon dioxide (CO2) is the primary anthropogenic greenhouse gas, trapping heat in Earth's atmosphere and contributing to global warming. Oxygen and nitrogen make up most of our atmosphere but are not greenhouse gases - they don't absorb infrared radiation. Helium is a noble gas and also not a greenhouse gas.