Root canal treatment (aka endodontic therapy) removes infection that has spread throughout the roots of a tooth.
The root canal is cleaned, reshaped, and filled. The tooth is then sealed with dental restoration or crown to prevent recontamination.
Minor discomfort may occur following treatment. See here to learn about postoperative care.