Crunchy and chewy foods—such as carrots, celery and nuts—cause saliva to flow; saliva neutralizes the acids formed by cavity-causing bacteria. (Sticky and sweet foods, on the other hand, help that bacteria to grow and develop into plaque—a bacterial buildup that can give rise to cavities.