Gunpowder is a chemical mixture of saltpeter (potassium nitrate), charcoal, and sulfur that burns rapidly to produce gas and heat, leading to an explosion. This invention revolutionized warfare and had significant implications for military technology and tactics during the period from 1000 to 1500.