The purpose of a thermostat valve is to control the flow of a fluid to maintain a set temperature in a heating or cooling system.