When the infection and tooth decay spreads to the nerve in the tooth, which usually leads to an abscess, root canal trea