Custard is a thick, smooth dessert or sauce that is made from milk, egg yolks and sugar. It can also be flavored with vanilla, cinnamon, or other spices. The consistency of custard is similar to that of pudding but it is usually thicker and richer in taste due to the addition of egg yolks. Custards are often used as a filling for pastries such as creme brulee, eclairs, and fruit tarts or served as a dessert on its own.