Thermocouple is a pair of dissimilar metal wires joined at one end, which generate a net thermoelectric voltage between open pair according to the temperature difference between the ends.
Working:
A thermocouple is made of two or more metals joined together to form two junctions.
One junction is connected to an object whose temperature is to be measured called as measuring junction.
Other junction is connected to an object of known temperature called as reference junction.
This is how Thermocouple measures unknown temperature of the object with reference to the known temperature of another object.