A thermometer is an instrument that measures and shows temperature. One type of thermometer is a narrow, concealed glass tube containing mercury that extends along the tube as it expands. Another type is a digital thermometer, which uses electronics to measure temperature.