Vinegar is produced through a process called acetic fermentation. This involves acetic acid bacteria like Acetobacter and Acetomonas converting ethanol into acetic acid and water. Vinegar contains 4-5% acetic acid and 95-96% water. It can be produced through slow fermentation over 2-3 months in barrels, or through a quicker generator process using large cylinders. Some vinegars are synthesized by diluting glacial acetic acid rather than using suitable raw materials. Vinegar is used as a flavoring agent and preservative in foods like pickles and soups.