gliding joint
A gliding joint, also known as a plane joint or planar joint, is a common type of synovial joint formed between bones that meet at flat or nearly flat articular surfaces. Gliding joints allow the bones to glide past one another in any direction along the plane of the joint – up and down, left and right, and diagonally.
ball and socket joiint
Ball-and-socket joints are a special class of synovial joints that enjoy the highest freedom of motion in the body thanks to their unique structure. The shoulder and hip joints are the only ball-and-socket joints in the human body due to the need for great motion at the end of the body’s limbs and the vast amount of musculature needed to move and support such flexible joints.
hope it helps you!!