A hinge joint allows movement in primarily one plane, similar to the opening and closing of a door. The elbow and knee are classic examples of hinge joints. The shoulder is a ball-and-socket joint, and the neck contains a pivot joint that allows rotation.