Root canal treatment is used to treat infection at the center of a tooth. It removes infected pulp and seals the tooth to prevent further damage.