Egg yolk is adding extra fat to a baked good. This will create a more fudgy texture in blondies and cookies.