Foam is a common structure in food, pharma, and cosmetic products. It consists of bubbles which are formed and stabilised with surface active components (i.e., emulsifiers). In general, to maintain the functional properties of foam structure, both the formation and the stabilisation of individual bubbles need to be precisely-controlled. Ideally, bubbles with uniform size are produced and immediately stabilised. However, in reality, traditional foaming techniques lead to polydispersed bubbles whose size is an equilibrium state of formation and coalescence. To make high-quality foam products, it is crucial to choose a suitable foaming technique and emulsifier, which requires in-depth understanding of the bubble formation mechanism and the interplay between bubble formation and emulsifier adsorption. In this thesis, microfluidic devices are used to make and characterise foams, as well as to study emulsifier adsorption at very short time scales that allow to capture the dynamics of bubble formation and stabilisation against coalescence.