This diagram shows a hip bone and the way that the upper leg bone fits into it. The ball and socket joint allows movement in every direction.