Why is SO2 Present in Wastewater?

Hi guys, I wanted to know why and how SO2 is present in waste water ?