In a ball and socket joint, a bone ending with a ball-like structure fits into the socket of an adjacent bone. The bone with a ball-like structure has the capability to move nearly in all directions. These joints are present in hip joint and shoulder joints.