Septic tank
While a properly maintained and located septic tank does not pose any more environmental problems than centralized municipal sewage treatment, certain problems can arise with septic tanks in unsuitable locations. Since septic systems require large drainfields, they are not suitable for densely built areas.
Drain-waste-vent system
All plumbing waste fixtures use traps to prevent sewer gases from leaking into the house. Through traps, all fixtures are connected to waste lines, which in turn take the waste to a "soil stack", or "soil vent pipe". At the building drain system's lowest point, the drain-waste vent is attached, and rises (usually inside a wall) to and out of the roof. Waste exits from the building through the building's main drain and flows through a sewage line, which leads to a septic system or a public sewer. Cesspits are generally prohibited in developed areas.