A thermistor is a type of temperature sensor that changes resistance with temperature. It works by measuring the small changes in resistance to determine the temperature accurately. This helps in various applications like temperature control and monitoring.