Carbon gases trap heat in the atmosphere and scientists believe the gases contribute to global warming .