In a hip replacement, the upper leg bone, or femur, is separated from the hip socket, and the damaged head is removed (A). A reamer is used to prepare the socket for the prosthesis (B). A file is used to create a tunnel in the femur for the prosthesis (C). The hip and socket prostheses are cemented in place (D), and finally connected (E). (Illustration by Argosy.)