Vinegar can be used for multiple reasons. It can be used to cook food and add flavor to food and it can have SIGNIFICANT HEALTH BENEFITS DUE to its acetic acid content. Vinegar can be used to disinfect things and is a very useful products because of the products mixed to make the product. The acid is very powerful and is used for many reasons. The molecular formula for vinegar is C2H4O2. It is made up of 2 carbon atoms, 4 hydrogens atoms, and 2 oxygen atoms!