Check any package of bacon, hotdogs, or cold cuts and chances are you'll find nitrites listed among the ingredients.
During the middle ages the invention of gunpowder had the unlikely result of providing a new way of preserving meat.