Pyrite was used to produce sparks for fire starting and ignition in early firearms, such as wheellock pistols.