Botanically, there's no such thing as a vegetable.
That's a culinary term, which seems to cover some fruits, some plant roots, some plant stems, some plant leaves, and some plant flowers.While culinary fruits are the other botanical fruits, and a few flowers (figs are weird)