One sensor is for the DME to know the coolant temperature and to add more fuel when the car is COLD.
The other one is for the gauge inside the car.
I never remember which one is which... but one plug should have the color of the sensor (The blue one maybe).