Vinegar contains approximately 5-8% acetic acid by volume, which gives it its characteristic sour taste and pungent smell. Acetic acid is produced through the fermentation of ethanol by acetic acid bacteria, converting alcohol into this weak organic acid.