Ethanoic acid is CH3COOH. Acids can ionise, producing H+ ions and in this case, CH3COO (ethanoate) ions. The sodium exists as Na+ ions in solution, which then create neutral ion complexes with the ethanoate ions, as CH3COO Na+ . The displaced H+ ions from two of these processes combine to form hydrogen gas, H2 .