Gunpowder and fireworks were invented in China.

An excerpt from the article 30 facts about China

During the Tang Dynasty (June 18, 618 – June 1, 907), Chinese alchemists developed gunpowder. Soon afterward, explosives, smoke, and incendiary materials were developed on its basis. China is the largest producer of fireworks, it is estimated that 85% of all firecrackers produced come from China.