Valves control and regulate the flow of liquids and gases through pipes and passageways. The main types of valves discussed include gate valves, sluice valves, pressure relief valves, reflux/check valves, air relief valves, bib taps, stop cocks, pillar taps, flush valves, and mixing valves. Valves are used for starting and stopping fluid flow, regulating flow amounts, controlling flow direction, regulating downstream pressure, and relieving overpressure in pipes and components. Each valve type has a specific purpose and operating mechanism suited to the application.