There’s no botanical meaning of vegetable. That’s a cooking term. In botany, you have different parts of the plant, like fruit, stem or root, you have different groups of plants, like the ginger family or monocots. And you can say a plant is edible or useful.