A mercury thermometer is a traditional device for measuring temperature, using mercury contained in a narrow glass tube. The thermometer works on the principle that mercury expands uniformly when heated and contracts when cooled, allowing precise readings against a calibrated scale.