Baking powder is a leavening agent that reacts to liquid and heat and creates carbon dioxide gas, which expands the bubbles created by the creaming process, causing the cake to rise. Baking powder loses its effectiveness after six months to a year. Be sure to check the date on the can when you buy it or mark it yourself.