The correct comparison is:
Chemicals from fertilizers can release nitrous oxide, while landfills release methane.
Fertilizers are known to produce nitrous oxide (N2O) during the nitrogen cycle, especially when they are applied in excess. Conversely, landfills are significant sources of methane (CH4) as organic waste decomposes anaerobically.