A diverter valve is used to divert water from the shower head to a handheld shower head or other accessory. They are usually located on the wall near the shower head and are commonly used in 2 outlet shower systems and 3 outlet shower systems.