A Thermocouple is a temperature sensor and can be used as a means to convert thermal potential difference into electric potential difference. This works on the principle of thermoelectric effect.