A thermometer measures temperature. Heat, in physics, refers to energy transferred between systems because their temperatures differ. Energy transferred as heat generally flows spontaneously from a hotter object towards a cooler one.
This distinction helps explain why a large bath and a small cup at the same temperature are not thermally equivalent in every way. The amount of material and its properties matter when calculating how much energy is needed to change its temperature. Temperature alone does not tell you that amount.