The primary function of a control valve in an HVAC system is to regulate the flow of fluid to the process under control. In HVAC systems, control valves are primarily used to control the flow of chilled water, hot water, and condenser water. By controlling the flow of these fluids, the control valve ensures that the desired temperature and pressure are maintained in the system.