What Kind of Acid is in Vinegar?

Vinegar has Acetic Acid, some Tartaric and Citric acid. Vinegar is used a lot in pickling as a perservative and taste sour, it is also used in cooking instead of lemon juice.