a hinge allows a door to open and close.