A key is used to open and close doors.