Complex sentence: Sewers are pipelines that connect buildings to horizontal'mains', the sewer mains often connect to larger mains, and then to the wastewater treatment site.
Split into simpler sentences: Sewers are pipelines that connect buildings to horizontal'mains'. The sewer mains often connect to larger mains, and then to the wastewater treatment site.