Consuming sugary foods stimulate growth of bad bacteria like Streptococcus mutans and Streptococcus sorbrinus to grow on our teeth that metabolize sugar and produce cavities.
Step-by-step explanation:
Both the species consume sugar and produce dental palque.
If the plaques are not washed away then produce acidic environment and cavities formation occur.
When the mouth becomes acidic, the pH becomes less than 5.5 which causes dissolve of minerals and also destroy the enamel.