Gunpower is made from charcoal, sulphur and potassium trioxonitrate (V) The salt in the mixture…