A valve is used in a piping distribution system to control or modulate the flow.
A pressure relief valve is a spring or weight loaded valve that automatically discharges, to a safe place, fluid that has built up to excessive pressure in pipes or fittings.