When talking about whether something is a fruit or vegetable, there is often some confusion because the words actually have different meanings depending on the context in which you are using them.
In the scientific sense, a fruit simply refers to any part of the plant which contains the seeds. This means that even things such as tomatoes, which are thought of as culinary vegetables, are technically fruits. This is because in the culinary sense, the terms fruit or vegetable refer to the sweetness of the food, rather than the scientific classification.
If the food is sweet in it’s raw form, then it is considered a culinary fruit, while others that are not sweet are classified as vegetables.
So what about raspberries? Are raspberries fruits or vegetables?
Since raspberries contain seeds, they are scientifically classified as fruits. They are also sweet when raw, so they are culinary fruits as well. This means that raspberries are fruits, no matter which way you look at it.