Vinegar is a solution of acetic acid and trace compounds. Usually, the acetic acid is produced by a double fermentation, converting simple sugars to ethanol using yeast, and ethanol to acetic acid by acetic acid bacteria. Vinegar is useful for pickling vegetables and adding acid to salad dressings or dips.