Ancient china witnessed numerous inventions such as the compass, papermaking, printing, and gunpowder, which revolutionized the world.