What is the function of a heater valve on a 1995 ford ranger?

It controls the flow of water from the engine cooling system into the passenger compartment heater core.