That classic thing: tomatoes are really a fruit — well, a whole lot of other vegetables are technically fruit too. I do find this way of thinking of it helpful:
So this makes tons of other common vegetables actually fruit, including peas, avocadoes, cucumbers, eggplants, bell peppers and more. And corn and raspberries are still rather complicated.
Some other fruit and veg sketchplanations: