The system of a network of pipes used for taking away wastewater from homes or public buildings to the treatment plant is known as
Sewerage is the drainage that carries the sewage.