One of the example of a ball-and-socket joint is Shoulder Joints
One of the most defining characteristics of a ball-and-socket joint is it allow your body to do multidirectional movements and rotation, like your shoulder can do. Another example of this joint is the one located on your hips