Black powder which is the original gunpowder was the earliest chemical explosive.It was invented in China way back in 9th century. It is a mixture of potassium nitrate also known as saltpeter,sulfur and charcoal. The powder burns slowly thus leaving smoke and solid residue.