A valve is a mechanical device that blocks a pipe either partially or completely to change the amount of fluid that passes through it. When you turn on a faucet (tap) to brush your teeth, you're opening a valve that allows pressurized water to escape from a pipe.