A ball-and-socket joint is a type of joint in the body that allows for movement in multiple directions, such as the shoulder or elbow joint, where the rounded surface of one bone fits into a cup-like depression in another bone, enabling a wide range of motion in three planes.