Why was Tang and Song china the most advanced civilization of its time?

chinas population nearly doubled scoring 100 millio. science and tevhonology the moveable type argiculture trade and foregin contacts