I just love this song, have a look at its lyrics and you'll see.
This is what Katy Perry says about it:
"People are coming back and almost adopting it as their own anthem, and it's hard, I think, to write an anthem that's not cheesy, and I hope that this could be something in that category. I hope this could be one of those things where it's like, 'Yeah, I want to put my fist up and feel proud and feel strong. But I also don't want to be cheesy, it's a fine line, and I think 'Firework' ... would be like the opus or my one song — if I had to pick a song to play — 'cause it has a great beat. But it also has a fantastic message. Many people refer to the lines 'like the 4th of July, however the original lyrics were 'like a firefly' as they reminded me of fireworks at night whenever i saw them. However the trend caught on and in live performances I now sing 4th of July, which happens to make great sense for the song name."