Sodium bicarbonate is the main constituent in baking soda. When an acid, such as buttermilk, yoghurt, brown sugar, or vinegar, comes into contact with sodium bicarbonate, it becomes an alkaline base (usually the acid is part of your recipe).