Answer by
Abbas (86)
Toilet outlet pipe is either connected to main gutter line or a septic tank. In both the case, gas formulation takes place and pressure is built up. This pressurized gas find its way through the trap in the toilet resulting in bubbling. To prevent this, air vent pipe is provided.