The correct option is B acidity
When the sugary food is left on teeth, the bacteria present in the teeth converts this food to acid which causes the tooth cavity. So the cavity can be prevented by applying a basic substance.
Generally, toothpaste contains some basic substance like calcium fluoride that neutralise the acid present in teeth.