a thermometer is used for measuring temperature.