Ball and Socket:
The ball and socket is.a joint in which the rounded surface of a bone moves within a depression on another bone, allowing greater freedom of movement than any other kind of joint. It provides swing for the arms and legs in various directions and also spin of those limbs upon the more stationary bones.
Hinge joint:
Hinge joints are formed between two or more bones where the bones can only move along one axis to flex or extend. Hinge joints can be found in the ankle, elbow, and knee joints.