Endodontics, or root canal treatment, is necessary when the tooth pulp becomes infected or inflamed. The inflammation or infection can have several causes: deep decay, trauma, repeated dental procedures on a tooth, or a crack in the tooth. Some of the indications of damage to the pulp include pain, discoloration of the tooth, prolonged sensitivity to hot or cold, and swelling or tenderness in the gums near the tooth. Occasionally root canal treatment is necessary even when there are no symptoms.