A gum flap procedure cleans the roots of a tooth and repairs bone damage caused by gum disease. A special eraser or oral surgeon can perform the procedure. The gums are separated from the teeth and temporarily folded. The purpose of dental flap surgery is to reduce the depth of periodontal pockets, which is necessary to eliminate bacteria and treat gum disease. Sometimes, bone surgery, a procedure to soften the irregular surfaces of the damaged jaw bone, is also performed during periodontal flap surgery.