The Galileo thermometer consists of a sealed glass tube that is filled with liquid and several floating bubbles. The bubbles are glass spheres filled with a colored liquid mixture
As the temperature of the air outside the thermometer changes, so does the temperature of the liquid surrounding the bubbles. As the temperature of the liquid changes, it either expands or contracts, thereby changing its density