What does the temperature sensor attached to the thermostat housing do on a 2000 jeep grand Cherokee Laredo?

it tells the radiator fan when to turn on