It’s a ball joint ... The very first hinges were made around 7,000 years ago in the Middle East. Historians know that the Lion Gate in Hattusa once had giant wooden doors that swung on hinges.