Endodontic treatment (root canal treatment) is conducted when the dental pulp is inflamed or when it becomes necrotic and infected. The main cause for both these cases is dental caries and they represent sequential stages of the same disease with inflammation preceding the necrosis and infection.