When a cavity has decayed so deep into a tooth that it reaches the nerve, the product is inflammation and infection, resulting in a severe toothache. A root canal is done to remove the infection and exposed nerves which are located in the pulp and roots of the tooth. Once the infection and insides of the roots are cleaned, the dentist fills up the canals with filling material and to support the tooth, places a crown over the tooth.