Custard is pudding’s close cousin.  Both are typically made of eggs, sugar, and milk. The main difference is that pudding uses starch for thickening, whereas custard’s thickening agent is egg yolk, in most instances. Pastry Cream’s texture also tends to be firmer than pudding.