A thermometer is a device that is used to measure the temperature of a body. Common types of thermometers are…