In recent decades, some landfills have collected gases and used them directly as an alternative fuel or burned them to produce renewable energy in the form of electricity.