Temperature Sensors work with the machines computer system to measure/monitor engine temperature including the lube/oil and coolant in order to control radiators, cooling fans, and thermostats
If the sensor fails a warning light will usually show up on the machine. This could lead to overheating, or improper running conditions if not replaced