Dental caries (tooth decay) begins when bacteria acting on sugars produce:
Bacteria in the mouth act on residual sugars to produce acids, which soften and demineralize the enamel, leading to tooth decay.
Ref: NCERT Text book class 10 Biology Chapter 5 life process