It's for the main comp to read the temperature so it can engage the fan circuit , also it probably sends the signal to the temperature gages via the main comp=PCM.
Hope that helps and best of luck.By the way if you're having problems with that part it could be dirt or a bad wire going to the sensor , especially bec of how hot the wiring would get.