The instrument used to measure temperature is called thermometer.
The principle of a thermometer is the property of expansion of a substance with the raise in temperature is used to measure temperature.
When expansion of mercury is used to measure the temperature, the thermometer is called the mercury thermometer and mercury is called the thermometric liquid.