This is a visualization of what a ball in socket joint looks like. It consists of a sphere mounted inside of a hollow dome which wraps around the sphere to keep it inside the joint. But since a sphere is round it can rotate in all the different directions with very little limitations. This is very similar to how the human skeleton works but our joints have limits to how far they can move because of our muscles not being able to stretch any farther.