A root canal is used to treat and repair a damaged or infected tooth. You may need a root canal due to a cracked or injured tooth or because of tooth decay. During the procedure, the infected pulp inside the tooth will be removed, and the rest of the area will be cleaned and disinfected.