Baking powder is a compound leavening agent . A kind of swelling agent , mainly used in food products for rapid fermentation .