It was invented by a Chinese carpenter over 2,600 years ago.