The earliest reference to tooth decay and pain came from an ancient Sumerian text known as the 'Legend of the Worms', which described toothache being caused by a worm drinking the blood of teeth and feeding on the roots of jaws. Since then, theories on the causes of dental caries have included humoral theory proposed by Greek physicians, chemical/acid theory involving acids formed by food fermentation, and microbial theory recognizing the role of bacteria. Current understanding is that dental caries is a multifactorial disease requiring the presence of bacteria, fermentable carbohydrates in the diet, and susceptible tooth structures, as well as factors like saliva, plaque, and oral hygiene.