1 Liquids expand with heat, and this expansion can be used to measure temperature by observing height changes.
“They notice the liquids expand when you heat them. That's why in a summer day if you fill your gas tank, you have to leave some room at the top so the overflow can come out of the top; or you shouldn't fill it completely, otherwise it'll bust the tank.”