Bone grafting is surgery to repair and rebuild bones that are damaged or diseased. This surgery can be done to fix bones almost anywhere in your body.