When the soft tissue inside the tooth, called the pulp, gets infected or inflamed, a root canal treatment becomes necessary. During this process, the dentist removes the infected pulp and cleans out the root canals before sealing them up.