General Atomics interview question

How does a thermocouple work/ measure changes in temperature