It is formed when the plaque on the teeth are not treated. This creates acids on the teeth which dissolves the protective layer, this destroys the tooth enamel and causes tooth decay.