What is a fruit? This question is always asked in association with another question “What is a vegetable?”
These questions are repeatedly asked and without doubt, will be asked over and over again.
The reason is that the word fruit has many meanings based on various criteria. It can refer to a part of a plant, a type of tree or crop, or a particular food item.
As to vegetables, there is a special classification called fruit vegetables which refers to crops in which botanical fruits are harvested primarily for use in culinary preparations, such as tomato and squash.
Indeed, based on common usage, fruits refer to the plant structure having sweet, edible portions and generally consumed raw as contrasted to vegetables which refer to edible plant parts which are generally consumed cooked but some in raw form as a salad.