Thermometer apps utilize the phones internal sensors, such as the ambient temperature sensor or infrared sensor (for compatible devices), to calculate and display accurate temperature readings.