Any of these reactions produce sodium acetate and water. When a sodium and carbonate ion-containing compound is used as the reactant, the carbonate anion from sodium bicarbonate or carbonate, reacts with hydrogen from the carboxyl group (-COOH) in acetic acid, forming carbonic acid.