Fact 1: a firecracker converts chemical energy into sound. 
Fact 2: Chemical energy Energy released as a result of chemical reactions.
Firecrackers go off as a result of chemical reactions taking place.