A ball and socket joint allows movement in all directions. In such joints, the end of one of the bones is round like a ball. It fits into a hollow part (or socket) in the other bone. The bone that ends in a ball, can move in any direction.
Examples: Shoulder and hip joints.