The cartridge firing sequence of modern ammunition
1. A firing pin strikes and ignites the primer. A Primer is a primary explosive which produces heat.
2. The priming compound ignites the powder (gun powder).
3. The burning power forms gases.
4. The expanding gases propel the projectile (shot or bullet) down the barrel and out the muzzle.