Oil and water refuse to mix β shake them and they just split back into two layers. Yet mayonnaise, vinaigrette, milk, butter and hollandaise are all stable mixtures of exactly those two liquids. The trick is an emulsifier: a molecule with a water-loving head and an oil-loving tail that wraps each tiny droplet and keeps it from merging. Scroll through to see oil and water separate, watch an emulsifier hold them together, and whisk up a jar of mayo β until you pour too fast and it breaks.
Press Shake and the jar fills with oil droplets. With no emulsifier they coalesce β droplets that touch merge into bigger ones, which rise and pool into a separate oil layer on top (a vinaigrette left to rest). Turn the emulsifier on and amphiphilic molecules β egg-yolk lecithin or mustard β coat each droplet (water-loving heads out, oil-loving tails buried in the oil). That film keeps droplets apart so they can't merge: a stable, creamy emulsion.
Mayo is an oil-in-water emulsion: oil droplets dispersed through a watery yolk. Whisk briskly and add oil slowly and each drop is sheared into millions of tiny droplets that the yolk's lecithin instantly coats β so many crowded little droplets that the mixture turns thick, pale and creamy. Add oil too fast for the available emulsifier and there isn't enough to coat it all: droplets coalesce and the sauce "breaks" into a greasy, curdled split. Whisking a broken batch into a fresh yolk supplies new emulsifier and rescues it.
An emulsion is two liquids that don't dissolve in each other (they're immiscible), with one dispersed as droplets throughout the other. Here's the chemistry holding it together: