Ball joint railings are usually composed of columns, crossbars, handrails and ball joints.
The hollow ball on the column is used as a connection point to combine the handrails, crossbars, etc., and then fixed to the ground, steel grating, etc. through the bottom plate at the bottom of the column.