Tooth decay is caused by acids which are produced by bacteria in the presence of sugar To prevent decay these bacteria  sugar and acids must be periodically removed by the means of brushing and flossing