It is produced through the fermentation of ethanol by acetic acid bacteria. The acetic acid gives vinegar its characteristic sour taste and pungent smell.