Botanically a vegetable is anything that is not the reproductive portion of the plant derived from a flower. A root or tuber such as for yam or potato are vegetables. Edible flowers could be considered a vegetable since the ovary has not expanded to contain seed.
Biologists: but tomato is a berry, which is subset of fruits
Also biologists: “vegetable” is purely a culinary term, and doesn’t have any significance in the world of botany
As it happens, when we go shopping for food we have more of a culinary mindset than botanical.
A vegetable is edible plant matter.
deleted by creator
Exactly