Root canal therapy becomes necessary when the dental pulp, which contains nerves and blood vessels inside the tooth, becomes infected or inflamed. This can occur due to deep decay, repeated dental procedures on the tooth, cracks, or trauma. Root canal therapy involves removing the infected pulp, cleaning the root canals, and sealing them to save the tooth from extraction and eliminate pain or further infection.