Spirit thermometers use a non-toxic alcohol instead of mercury to register the temperature. Like liquid mercury, the alcohol expands in volume as it gets warmer, causing the liquid to move up the thin tube inside the glass thermometer. Digital thermometers contain a device called a thermoresistor.