Both carbon dioxide and methane are greenhouse gases, they trap heat in the atmosphere. This is leading to global warming. Thousands of scientific papers have been published on global warming.

7