baking soda is used in baking as a leavening agent. When it reacts with the acid, carbon dioxide is released, which causes expansion of the batter and forms the characteristic texture and grain in cakes, quick bread, soda bread, and other baked and fried foods

