Gilding (la dorure in French) in baking is a technique for applying a thin layer of egg wash (a mixture of eggs/egg yolks, milk, or water) to the surface of a pastry. It helps shine and protects the pastry from burning.