You teeth have two layers to them. An outer layer called Enamel and an inner layer called dentin. The dentin layer of your tooth contains the nerves. Erosion is when the enamel on your teeth is worn away by acid and the dentine is exposed, which usually causes pain and sensitivity.