Bacteria present in the mouth produce acids bydegradation of sugar and food particles that remain in the mouth after eating. Tooth decay can occur if the pH drops below 5.5. Toothpastes are made basic so that they neutralize any acid formed in the mouth.