Hinge joints are like door hinges, where only back and forth movement is possible. Example of hinge joints is the ankle, elbows, and knee joints.
In ball and socket joints one bone is hooked into the hollow space of another bone. This type of joint facilitates free movability also helps in rotatory movement. An example ball and socket joint are the shoulders.
In pivot joints , one bone has tapped into the other in such a way that full rotation is not possible. This joint aid in sideways and back-forth movement. An example of a pivotal joint in the neck.