👉 The term "confection" refers to a type of pastry or dessert that is often served as an accompaniment to other desserts. It can be either sweet or savory, and it typically consists of layers of pastry dough with filling inside, such as chocolate, vanilla, or fruit. Confections are commonly found in various types of cakes, cookies, cupcakes, and pastries, and they are enjoyed by many people for their sweet taste and texture.