Other greenhouse gases are carbon dioxide , methane , nitrous oxide and ozone . The primary greenhouse gases in the Earth 's atmosphere are water vapor , carbon dioxide , methane , nitrous oxide , and ozone .