when exposed to heat, the powder's ingredients react, creating bubbles.) the trick to a perfectly cooked cake (in the microwave or in the oven) is making sure your architecture sets at the same time that your leavening agent--in our case, baking powder--forms air bubbles to make the batter rise.