Your plumbing system relies on gravity to carry wastewater down the drains and out into your municipal sewer system or septic tank. Adequate ventilation is necessary to keep the drain lines running smoothly, so your home’s main drain is connected to a PVC or cast iron vent pipe that runs vertically up through the roof. The vent serves two purposes – it lets sewer gas out and draws air in to maintain neutral pressure in the drain system.