How do thermometers work?

A) They take a direct measurement of heat from a given object
.
B)They indirectly tell you the temperature by having a substance in them that responds to heat.

C)They measure the speed of atoms.

D)They find temperature by barometric pressure.