Mayonnaise is an emulsion of oil in egg yolk, resulting in a thick spread that can be generously applied to your food. When mayo is introduced to heat, the eggs act as a semi-porous barrier which allows the oil to escape slowly, giving your dish a more consistent cook and helping your food retain moisture.