Temperature sensors function by measuring the physical change in a material in response to temperature variations. For instance, thermocouples generate a voltage that is proportional to the temperature difference between two junctions. Similarly, RTDs change their electrical resistance with temperature. These changes are then converted into temperature readings by a control system.