During this procedure, the dentist or periodontist folds back the affected gum tissue, removes the harmful bacteria from the pockets, and then snugly secures the gum tissue in place over the tooth root, thus eliminating the pockets or reducing their size.