Gravity closes the valve to keep sewer gases from escaping ... In the plumbing vent diagram above, window framing prevents the installation of a vent line, so an AAV is installed instead.