Although flavoring confectionery items with fruit is often seen as more common, there are some confectionery items that do use vegetables as well.
Carrot cake is one such popular confectionery item, with actual carrot being one of the main ingredients. Instead of using carrot, it can be replaced with a carrot extract, spray dried powder, or some other flavoring option for those who do not like the texture of carrot bits in their cake.
Pumpkin Pie and Sweet Potato Pie are two other common vegetable-flavored confections. Just as is the case with any fruit-flavored confections, vegetable-flavored confections can be created using extracts, spray dried powders, concentrates, or other flavoring options. Some popular fruit and vegetable options include strawberries, lemons, apples, carrots, and sweet potatoes.