In botany, the zucchini’s fruit is a pepo, a berry (the swollen ovary of the zucchini flower) with a hardened epicarp. In cookery, it is treated as a vegetable, usually cooked and eaten as an accompaniment or savory dish, though occasionally used in sweeter cooking.
Wait is there actually a sense in which a zucchini is a type of berry?
I guess botanically. From wikipedia
source
Huh, TIL-- Thanks OP!
Eggplants, pumpkins, tomatoes and chili peppers are berries as well.
Blackberries, raspberries and strawberries on the other hand aren’t berries.