There are 3 vents in one area and 2 in another.
Waste vent in attic.
Waste is produced at fixtures such as toilets sinks and showers.
The vent pipes remove or exhaust sewer gases and allow air to enter the system so that the wastewater flows freely.
I see situations around like this sometimes.
Vent pipes look like sewer pipes.
The main vent is stack is often but not always a continuation of the soil stack which is a 3 or 4 inch waste pipe that extends vertically down from the uppermost bathroom to the sewer.
Only two plumbing set ups could require sewer pipes in the attic.
This revert is at least six inches above the overflow line and properly connected with a drainage t.
These empty into larger waste pipes that connect to the sewers.
Drain pipes are those connected to fixture p traps.
Notice how the main vent and waste pipe remain separated behind the sink only connecting via the attached went pipe.
The first would be a bathroom or kitchen in that part of the house and the other would be a.
The drainpipes are made of cast iron galvanized pipe copper or plastic.
In modern plumbing a drain waste vent or dwv is part of a system that allows air to enter a plumbing system to maintain proper air pressure to enable the removal of sewage and greywater from a dwelling.
Extra info on the air admittance valve.
I have a customer that we are doing some work in the attic for and i noticed yesterday that the plumbing is vented up into the attic phew and not thru the roof.
The waste pipes remove water and material from the toilet.