Did you know? A pumpkin, from a botanist's perspective, is a fruit because it's a product of the seed-bearing structure of flowering plants. Vegetables, on the other hand, are the edible portion of plants such as leaves, stems, roots, bulbs, flowers, and tubers.