Vinegar is a liquid of mainly acid and water. It is commonly used in cooking. But it is actually more versatile…