Those are spherical joints. The arm will swing freely on an axis passing through their centers.

regards,
Phil