The thermostat with a bypass valve is located in the coolant inlet pipe and is designed to maintain the optimum temperature in the cooling system by letting the coolant through the small or large (through the radiator) cooling circle.
Scheme of the cooling system.