The mouth is known to harbor many different types of bacteria, including actinomyces, bacteroides, bifidobacterium, lactobacillus, peptostreptococcus, selenomomas, treponema, veilonella1, and fungi, such as candida, cladosporum, fusarium, aspergillus, penicillium and cryptococcus.2
Modern research would suggest (but not prove, hence the lack of a reference in this case) that anomalies in the ratios of these microorganisms can wreak havoc on oral health, and potentially lead to issues like tooth decay, periodontal disease, halitosis, cavities, even cardiovascular issues.
Considering these organisms are able to survive and thrive in the mouth by feeding on the food we eat, and the immune system should theoretically be keeping these organisms from feeding on live tissue, could fasting be used as a method of resetting the playing field, so to speak, and allowing for subsequent recolonization by a healthier mix?
Sources: