Landfills are not the same today. Waste are crushed, flattened and contained in sealed cells that do not allow air, or much water inside, creating an anaerobic environment in which microbes cannot survive, In this environment, the process of anaerobic degradation releases methane gas. Landfills are the second largest source of methane. See link: