According to Wikipedia, a thermocouple is a temperature-measuring device consisting of two dissimilar conductors that contact each other at one or more spots. It produces a voltage when the temperature of one of the spots differs from the reference temperature at other parts of the circuit.
The voltage is converted to a temperature. There are many different designs depending on the pair of conductors used.