Acetic acid is present in vinegar and is responsible for its well-known flavor. By fermentation, acetic acid bacteria create acetic acid from carbohydrates. It’s a weak acid that contributes to the sour taste of vinegar.