A valve is a mechanism that opens and closes to control the flow of fluids. In a scientific context, fluids include both liquids and gases – any substance that can flow freely – and valves may use either. Valves control fluid flow in motors, plumbing, irrigation, pneumatic and hydraulic systems.