Q: I toured a house under construction. All of the plumbing drain lines were in, but I also saw all sorts of other extra pipes that connected to the drain pipes and eventually combined and went up through the roof. It got me thinking. What are these pipes, and why were they installed? Do I have these same pipes in my home? It seems like a lot of wasted pipe to me. — Sharon A., Lake Wales, Fla.

A: It can really be eye-opening to see the framing, wires, pipes and other service elements in a home before the skin of drywall or plaster is applied. You would be stunned to discover what is on the other side of that smooth coating if you had X-ray vision.

I have been a master plumber since age 29. When I first jumped into the building business after getting my geology degree in college, I gravitated to carpentry, plumbing, electric and roofing. All of those subjects were of great interest, but plumbing cast a long-lasting spell on me. I really enjoyed the challenge of the three-dimensional problem-solving required to run all the drain and vent pipes in a typical home.

I wondered how it all worked and was lucky enough to work in many old homes where I saw how long-gone master plumbers installed giant cast-iron pipes. You often could still smell the oakum oil-soaked hemp used to pack the joints before they poured the molten lead to make the joints watertight.

It's easy to think that indoor plumbing has been around for centuries. The truth is indoor plumbing is one of the newer innovations in building. It wasn't until the late 1800s that people made the connection between common diseases and the lack of sanitary conditions in crowded cities. Once this happened, plumbers gained the stature of doctors because they — the plumbers — could keep you healthy by making it possible to pipe harmful waste away from your home.

It didn't take long for plumbers to figure out something you might not have paid much attention to back in high school physics class. I'm talking about the Venturi effect. When water rushes down a pipe and it passes an empty pipe, the moving water can create a vacuum.

If you don't install vent pipes at each fixture in a plumbing system, the Venturi effect comes into play. Bad things can happen when you flush toilets, drain a tub or do laundry. The water rushing and cascading through the pipes can suck the water out of the U-shaped traps under your sinks, tubs, floor drains and showers. When this happens, vermin can crawl into your home, and sewer gas can enter as well.

The plumbers of old quickly discovered a plumbing system needs to breathe in air just like we do. You can demonstrate this with a disposable plastic water bottle. Fill one of these bottles with water, and turn it upside down. The water will glug glug glug out of the bottle. There’s a battle going on between the water and the air outside the bottle. Air is struggling to get into the bottle to replace the water that’s emptied out.

Now do the same thing, but poke a small hole or cut a thin slit in the bottom of the bottle and turn it upside down. The water drains from the bottle freely because air can enter it through the small vent hole or slit you made.

That vent pipe you see on your roof does the same thing as that tiny hole or slit in the water bottle. It's where the air is sucked down into the plumbing system each time you drain water from a fixture. You can connect all the vent pipes that connect to each plumbing fixture in your home to one simple pipe that exits the roof, or you can have several vent pipes pop through the roof to minimize the amount of pipe you use.

Plumbing vent pipes have to be sized correctly, they need to have a slope to them to drain any condensate back to the drain pipes, and they must be installed with great care. Plumbing codes address all of this, and you always want to make sure vent pipes are installed with the same skill as drain pipes.

While on the topic, I’m not a fan at all of the modern air-admittance valves that seem to be the belle of the ball. They have moving parts — and we all know that things with moving parts fail sooner or later. Traditional vent pipe systems have no moving parts. Period.

I’ve recorded a great video for you that shows all the vent pipes in a new home. I think you will be amazed at how many there are and how they all connect to just one pipe that exits the roof in this large home. To view the video, go to: GO.askthebuilder.com/vents.

Subscribe to Tim’s free newsletter and listen to his new podcasts. Go to: AsktheBuilder.com.

Read more in Real Estate: