Root canal treatment is used to save a severely decayed or infected tooth. It involves removing the infected or damaged pulp from the tooth and sealing it to prevent further infection or decay.