The hip is a ball-and-socket joint. The ball, at the top of the femur (thighbone) is called the femoral head. The socket, called the acetabulum, is a part of the pelvis. The ball moves in the socket, allowing the leg to rotate and move forward, backward and sideways.