Yes fireworks is the result of chemical reaction. firework is resalt of differant oxidation, reduction, and combution reaction.
when fireworks was made all chemical in soild form combine and put into cardboard compartments. the chemical which are presant are oxidizing agent, reducing agent, coloring agent (metal salt), and binders.
colors in fireworks are produced by metal salts like calcium salts, sodium salts, CuCl, sodium nitrate etc.
when firework is ignited chemical which presant in it are react with each other and produce lightning & sound. in roket power needed to lift into the air is provided by the highly exothermic combustion reaction.