Rotting waste in landfills produces a gas that can be captured and used to generate electricity. What is this gas called?

A)ozone
B)carbon monoxide
C)carbon dioxide
D)methane