When basic baking soda (NaHCO3) is combined with acidic lemon juice (mainly citric acid, H3C6H5O7) an acid base reaction occurs. The reaction releases CO2 which can be captured using dish soap to form bubbles.
H3C6H5O7 (aq) + 3 NaHCO3 (s) → 3 CO2 (g) + 3 H2O (l) + Na3C6H5O7 (aq)
This demo harnesses the reaction of baking soda and vinegar to blow a cork off a test tube.
NaHCO3 (s) + CH3COOH (aq) →CO2 (g) + H2O (l) + CH3COONa (aq)
Under basic conditions glucose is oxidized while methylene blue is reduced, changing from blue to colorless. The reduction reaction can be reversed by shaking the flask which forces oxygen into solution, which oxidizes the methylene blue, thus turning it back to blue. If the flask is let sit, the oxygen will come out of solution making the solution colorless and ready to shake again.
When sugar is reacted with concentrated sulfuric acid it creates a black foam made of elemental carbon. The water that is produced in the reaction is gaseous and causes the foam to rise.
H2SO4 + C12H22O11 → 12C + 11H2O + a mixture of acid and water