Vinegar is a sour liquid that has been allowed to sour. Vinegar has long been used worldwide as a basic seasoning in the preparation and cooking of certain foods, because its sharp taste makes it so useful and versatile. Vinegar is also used as a cleaning agent.