temp sensors on 1997 Ford Ranger

Why are there 2 temp sensors on the same heater hose? What do they do and which one is which? They appear identical!

1 answer
one is for the guage one is for the computor