Chinese society saw many technological advances under the Ming dynasty, including the development of massive ships called junks, the magnetic compass, and innovations in papermaking and printing. Gunpowder was also discovered, which was later used for weapons and spread to other regions. The arts flourished with calligraphy, poetry, painting and ceramics. Religions like Daoism, Buddhism, and Confucianism influenced thought and society, with Confucianism eventually becoming the dominant philosophy emphasized by scholars and officials to promote social order and stability. Chinese innovations and culture spread widely across Asia as neighboring regions adopted Chinese writing, government structures, and other cultural traditions.