What does the egg yolk do in pudding?
Egg yolks give the pudding a velvety texture and they also help to thicken the pudding.