What Is This Pipe For?

If you look under the sink in your bathroom, you probably will notice a bent pipe leading away from the sink and draining out either into the floor or the wall. This is called a p-trap and its main purpose is to keep sewer gas from leaking into your home. These pipes...