Mercury encapsulated in glass tubes has been reliably reading temperatures since the early 18th century. Modern instruments use various methods to make checkups simpler, more accurate, and a lot less likely to poison you when they break. Here’s how they work.