Fact: Cavities occur when bacteria produce acids in the mouth. The process can begin by any carbohydrate that you consume. That includes sugar, fruits, vegetables, rice and bread. To reduce chances of tooth decay, one should not only practice good dental care but also limit the intake of acidic products.