The socket is formed by part of the pelvis bone. The ball is the upper end of the femur.