Why does sugar cause pain when it comes in contact with a tooth cavity?

Quirks and Quarks

Sugar causes pain when nerves are exposed through thinning enamel.

More From AudioMobile/Quirks and Quarks