Bone grafting is a surgical procedure that uses transplanted bone to repair and rebuild diseased or damaged bones. Bone grafting is an option for bone repair in almost any part of the body. For the transplant, your surgeon may remove bone from your hips, legs, or ribs.