Gunpowder is a heterogenous mixture,
Reason : the composiotion of the mixture is not uniform throughout, the mixture can be separated by a suitable method , and finally , it composes of charcoal, sulfur and potassium nitrate which is not homogeneous mixture.