For real fun, look up botanical “berry” (cucumber, eggplant, grape, pumpkin, tomato, fruits of the potato, banana, melon, but not strawberry, raspberry. See https://en.wikipedia.org/wiki/Berry_(botany). Avocado seems to be an edge case that may be a berry or a drupe)
Re:How to eat a tomato (2011) [pdf]
by colanderman on Saturday February 05, 2022 @07:53PM
(#30228100)
Similar situation with nuts. Most food items classified as "nuts" -- including many with "nut" in the name -- are botanically not nuts, but seeds, drupes, or legumes. [1]
I think there is a general mental model that works well for diets where fruits are associated with being sweet and vegetables aren't and that vegetables are thought of to be healthier as a result and don't need as much moderation. Though that admittedly falls apart in some instances -- corn, root vegetables, and avocados all need moderated, though two of those are botanically fruit :)