NaHCO3 + CH3COOH → NaCH3COO + H2CO3 → H2O + CO2
Where, CH3COOH→Acetic Acid (vinegar) and NaCH3COO →Sodium Acetate
When we add baking soda to any dough, it reacts with the acidic components in it, like yogurt, sour cream, lemonade, or buttermilk, which we deliberately add while baking. This reaction discharges CO2 bubbles that makes the dough to rise.