changed my hoses today, at last

and noticed a sensor screwed into head,
above pipe that goes down to heater area (the wiggly one), on drivers side,
well on mine it's broken, and seems to have been for a while,
anyone know what the sensor is, and what to order?
thanks
John