In chemistry a salt is considered to be the product of an acid and base. Typically an aqueous is specified, i.e.:
Clearly for sodium chloride we can write:
We can write the same sorts of reactions for other acids and for other bases:
Here, the salts are sodium nitrate, and potassium sulfate respectively. Capisce?