A thermometer is an instrument used to measure temperature. It works by detecting how hot or cold something is, usually by using a liquid (like mercury or alcohol) that expands or contracts as the temperature changes. This movement shows the temperature on a scale.