A thermistor is a resistor that can be used to determine the surrounding temperature by observing it's resistance. Thermistors are essential for determining the temperature of a battery pack.