The main stack is a vent pipe that runs through the center of your home and exits through the roof. The stack connects to the home's soil stack and branches off into the every room that uses plumbing pipes. The stack is also a part of the house's drainage system.