[flagged]
Outside the context of a botany classroom, you’re going to have a hard time finding people who respond to the question “Is cucumber a vegetable or a fruit?” with the answer “fruit, of course!”
There’s also fruits like coconuts, which don’t have seeds like we normally think of them. The coconut we eat after removing outer layers (exocarp, mesocarp) is a seed.
Comparing sweets fruit to savoury might not make sense in this context, though this is one instance were we can compare apples to oranges..