Lemon juice is an acid. When added to cakes that have baking soda, it aids in the rising of the cakes because baking soda needs an acid and a liquid to activate.