Gunshots are the sounds that are made when someone is firing a gun, and the sound can often be a mistake for a firework. Experienced police officers tend to be able to tell the difference between the two. Different firearms depend on the size of the gun's barrel, which makes it difficult for the average person to differentiate between the two sounds.
Gunshots have a set pattern, which makes fireworks different from gunshots. If you listen carefully to a firework, it makes a soft whistling sound, and then it goes BANG! They have a bigger sound leading into a smaller sound when they are being phased out. Gunshots, on the contrary, tend to produce a more powerful sound.
Gunshots do not give off a whistling sound, nor do they sound like they are phasing out after firing the gun. Gunshots are a frightening prospect to most people, as they are associated with crime and danger. Fireworks, on the contrary, are utilized during celebrations such as the fourth of July.