Potassium nitrate, commonly known as saltpeter, is a chemical compound with the formula KNO3 that is widely used in fertilizers, food preservation, and gunpowder. It is an ionic salt composed of potassium ions and nitrate ions, and its solubility in water makes it an essential component in various industrial applications.