Ancient Chinese scientists and engineers made significant scientific innovations, findings and technological advances across various scientific disciplines including the natural sciences, engineering, medicine, military technology, mathematics, geology and astronomy.
Among the earliest inventions were the abacus, the sundial, and the Kongming lantern. The Four Great Inventions – the compass, gunpowder, papermaking, and printing – were among the most important technological advances, only known to Europe by the end of the Middle Ages 1000 years later. The Tang dynasty (AD 618–906) in particular was a time of great innovation. A good deal of exchange occurred between Western and Chinese discoveries up to the Qing dynasty.