Vinegar is used as a preservative for pickles, tomato sauce, etc.
There are many different raw ingredients used to make vinegar.
Sugar cane juice, rice, and other grains, grapes (balsamic vinegar), coconut water, fruit wines, kombucha, or apple cider can all be used to make vinegar. Spirit vinegar is a potent type of vinegar manufactured from sugar cane and double fermented, containing 5 to 21 percent acetic acid.