valve

A device that opens or closes to control flowing liquid or gas.