Tooth decay, or dental caries, occurs when the enamel — the outermost layer of the tooth — becomes eroded by acids. These acids are produced when …