How does methane affect the environment?

Methane is a potent greenhouse gas, contributing to global warming by trapping heat in the atmosphere more effectively than carbon dioxide.