An acid meets a base
The famous fizz is a neutralisation. Vinegar is a dilute solution of acetic acid; baking soda — sodium bicarbonate — is a mild base. Put them together and the acid hands some of its hydrogen ions to the base, and the pair rearrange into new substances: sodium acetate, water, and carbon dioxide gas. It is the carbon dioxide, produced faster than it can dissolve, that boils out of the mixture as foam.
For a moment, an in-between substance called carbonic acid forms, but it is unstable and instantly falls apart into water and carbon dioxide. If you put your hand on the container afterwards, you may notice it feels slightly cool: this reaction absorbs a little heat from its surroundings as it runs.
Why it erupts so eagerly
The drama is about speed, not power. Both ingredients are mild and the quantities of gas are modest, but gas takes up far more room than the liquids that made it — the carbon dioxide from a single spoonful of baking soda would fill a bottle. Produced all at once in a narrow-necked model volcano, it has nowhere to go but up, dragging coloured liquid with it.
Real volcanic eruptions, it should be said, work completely differently — they are driven by gas dissolved in molten rock under enormous pressure. The kitchen volcano is a fine demonstration of gas production, just not of geology.
What the fizz is actually good for
Bakers use the same reaction more gently: baking soda in a batter meets acidic ingredients like yoghurt or lemon juice and releases bubbles that raise the cake as it sets in the oven. Bicarbonate in fizzy bath bombs and in some cleaning products works the same way.
One honest note about cleaning: the fizz can lift loose dirt, but the acid and base mostly cancel each other out, leaving mildly salty water. For a blocked drain or a greasy pan, each ingredient on its own — or plain hot water and detergent — usually does more than the two mixed together.

