Vinegar was a popular remedy for toothaches in Talmudic times. When a person has a cavity – particularly when the nerve becomes exposed – vinegar is a painful drink, indeed (see Mishlei 10:26). However, when the gums are irritated, or when fluid builds up in the gums, vinegar can offer relief by lowering the osmotic pressure.[ Rav Steinsaltz ]