Organic material in the dump decays, being turned into water carbon dioxide and methane. Carbon is not “captured”
But the libs correctly note that it take tens of thousand of years for carbon based waste to decay in a landfill. if you composte it it takes just a few days.