What is the Chemical Formula of Vinegar?

Vinegar’s main ingredient is acetic acid. Its chemical formula is CH3COOH. It is also known as ethanoic acid, and it gives vinegar its characteristic taste.