How does the Thermometer Work?

Thermometers contain a colored liquid – either alcohol or mercury – that rises and falls in the thermometer tube based on the temperature. Both liquids grow larger when heated and smaller when cool. The temperature is calculated according to the liquid level and the measurements printed on the thermometer.