Root canal treatment is needed when a tooth becomes infected.
With most infections in your body, your body will send white blood cells and antibodies to the site. The tissue will swell and be tender, and the infection will be brought under control.
This mechanism doesn't work inside your tooth, because there is no room for the tissue to swell. That is why any infection inside a tooth needs to be treated with a root canal treatment.