Energy is transformed from one form to another. In the example stated, the exploding firecrackers convert the chemical energy stored in them into light, sound and heat energy.
Your comment on this answer:
Related questions
Doubtly is an online community for engineering students, offering: