Most everybody knows about a litmus test, strips of paper impregnated
with dyes that turn red in the presence of acid and blue if there is a
base (alkaline). It’s a kind of chemical sensor. There are many kinds of
chemicals that can similarly act like a sensor, detecting the presence
of other chemicals...