Barium atomic number is 56, this means that it has 56 protons in its nucleus and put it as a period 6 element. an uncharged barium atom would have 56 electron also. However as a group 2 element barium easily loses 2 electron to form the +2 cation. the ions has 56-2=54
we know that it was the vinegar and baking soda because gas had been created, the gas was held within the bubbles. the gas that was created was called Carbon Dioxide or CO2