We know that the chemical name of vinegar is ethanoic acid which is also called acetic acid.
Chemical formula of ethanoic acid (or vinegar ) is
So,when it reacts with any salt, the colourless gas called carbon dioxide (
) is evolved.
Let's suppose that salt is sodium bicarbonate (