Salt is both a key ingredient and spice.
Salt is used for cooking. It is categorized both as spice and a key ingredient to make food gain Cooking buff, you can read more about buffs gained through food on Cooking.