Tooth decay is the process that results in a cavity, usually caused by bacteria or food deposits. Left untreated, tooth decay can cause pain, infection and tooth loss. Simple fillings generally resolve the cavity. For severe cavities, root canals, crowns or extractions may be necessary. Tooth decay can be prevented by proper brushing, flossing and routine dental examinations.