Cavities are holes in the teeth caused by plaque and sugar feeding bacteria that produce acid and decay enamel over time. To prevent cavities, it is important to brush teeth twice daily with fluoride toothpaste, floss daily to remove food and plaque between teeth, and visit the dentist regularly for professional cleanings and checkups. Reducing sugar intake and drinking fluoridated water also helps strengthen enamel and protect against tooth decay.