Complex sentence: The wetland treats the water flowing through it, which was a former landfill.
Split into simpler sentences: The wetland treats the water flowing through it. It was a former landfill.