The most famous use of potassium nitrate is probably as the oxidizer in blackpowder.
It is also used in fireworks such as smoke bombs.
It is also added to cigarettes to maintain an even burn of the tobacco and is used to ensure complete combustion of paper cartridges for cap and ball revolvers.