Vinegar does different things to different foods. Broadly, it balances flavors by adding a slightly sweet and mostly sour tang, reduces bitterness in a recipe, and enhances the flavor of ingredients in sauces or dishes. It also has specific sweet little uses I bet you'd like to know about.