The pump is submerged in the bubble liquid, causing it to spray ... air from the fan then blows the bubbles. There’s no video of this project so if you want to see it in action this other diy ...
spray paint, inflate a truck tire in a few seconds, or blow off a work surface like an air compressor. Air tools are also less expensive than comparable cordless tools, and never run out of batteries.