Baking powder affects the rise and texture of the cake, making it either light and fluffy or dense and flat, depending on the quality of the baking powder used.