A hip joint replacement means replacing one or both sides of the hip joint with an artificial socket and a metal ball and stem. A knee joint replacement means replacing one or both sides of the knee joint and often the underside of the knee cap.