Bone grafts can repair and rebuild diseased bones. Grafts can also repair bone loss caused by some types of fractures or cancers. In some cases, a bone graft may be used to build bone across a joint and prevent the joint from moving again.