Artificial hips function a lot like a ball and socket device.