A diode or diode-connected bipolar transistor used as a temperature-sensing element, often integrated onto an integrated circuit whose temperature is to be measured.