A surprising share of the vegetable drawer is fruit to a botanist, from tomatoes and cucumbers to squash, peppers, eggplant, okra, green beans, peas and even corn kernels. Nobody is wrong here. Botanists and cooks sort the same foods by different questions: one asks how the plant reproduces, the other asks how the food is eaten. The kitchen meaning was strong enough that the US Supreme Court once backed it over botany.
What Makes a Food a Fruit in Botany
To a botanist, a fruit is the ovary of a flowering plant, the swollen base of the flower, after it develops, usually once its seeds are fertilized.1Washington State University Extension. Fruit or Vegetable? It’s Complicated Its job is reproduction, often by getting animals to eat it and carry the seeds elsewhere.2City Fruit. Fruit means more than you think! Some fruits develop even without fertilization, which is why seedless types still count.1Washington State University Extension. Fruit or Vegetable? It’s Complicated
Everything else edible is a root, stem or leaf.1Washington State University Extension. Fruit or Vegetable? It’s Complicated Carrots and beets are roots, celery and broccoli stalks are stems, and lettuce and spinach are leaves, so they stay vegetables in any system. Potatoes are swollen underground stems called tubers, not roots.2City Fruit. Fruit means more than you think! That gives you a rough test at home, though seedless fruits are an exception: look for seeds inside. Cut a tomato, pepper or cucumber and the seeds sit in the middle, right where the flower’s ovary was. A carrot or celery stalk shows none, because it never formed from a flower.
“Vegetable” isn’t a botanical category at all. Botanists sort plants by how they grow and reproduce, so their groups are fruit, root, stem, leaf, flower and seed.
Tomatoes, Peppers and Eggplant
Tomatoes, peppers and eggplant belong to one plant family, the nightshades. Their fleshy fruits have thick walls with many cell layers, and the inner tissue often swells into the seed chambers.3PubMed. Comparative anatomical and developmental analysis of dry and fleshy fruits of Solanaceae So the jelly around tomato seeds is part of the fruit itself. Botanically, these count as berries: fruits with seeds inside soft flesh.
A pepper’s ribs and seeds sit on the inner fruit wall, where the ovary chambers were. A green pepper is simply an unripe fruit that later turns red, orange or yellow. Eggplant follows the same pattern, with soft seeds spread through its flesh.
The tomato’s seedy gel carries most of its savory, meaty taste, called umami.4PubMed Central. Differences in glutamic acid and 5′-ribonucleotide contents between flesh and pulp of tomatoes and the relationship with umami taste The gel holds on average about 3.6 times more glutamate, the savory compound, than the firm flesh.4PubMed Central. Differences in glutamic acid and 5′-ribonucleotide contents between flesh and pulp of tomatoes and the relationship with umami taste Scooping out the seeds and gel therefore removes much of the flavor that makes tomatoes taste like a vegetable. Keep the gel in sauces and salads for fuller flavor.
Cucumbers, Squash, Zucchini and Pumpkin
Cucumbers, squash, zucchini, pumpkins and melons all come from the gourd family.5Encyclopaedia Britannica. berry Their fruit is a type of berry with a hard rind and many seeds that doesn’t split open when ripe.5Encyclopaedia Britannica. berry A cucumber and a watermelon are therefore close botanical relatives eaten in opposite ways.
Zucchini and cucumbers are picked young, before the seeds harden. Left on the vine, a zucchini grows huge, tough and seedy. Pumpkins and winter squash are picked fully mature, with hard rinds and seeds, so summer and winter squash are the same fruit type, bred and harvested for different stages.
Most wild gourd fruits are bitter and unpleasant to eat.6PubMed. Origin and domestication of Cucurbitaceae crops: insights from phylogenies, genomics and archaeology Wild squash contain bitter compounds that domesticated eating squash lack,7PubMed Central. Domestication of Plants in the Americas: Insights from Mendelian and Molecular Genetics so losing that bitterness was one of the first traits early farmers selected.6PubMed. Origin and domestication of Cucurbitaceae crops: insights from phylogenies, genomics and archaeology If a homegrown cucumber or zucchini tastes unusually bitter, spit it out and don’t eat it.
Green Beans, Peas, Okra and Avocado
Bean and pea pods are botanically fruits, just as tomatoes are.8Justia. Nix v. Hedden The pod is the fruit and the beans or peas inside are its seeds. Unlike gourds, ripe legume pods naturally split open to release those seeds. Green beans and snow peas are whole fruits eaten young, while shelled peas are just the seeds. Dried beans and lentils are seeds too, not the whole fruit, and edamame is a young soybean pod with its seeds.
Okra pods are the plant’s immature fruits.9J-STAGE (Chemical and Pharmaceutical Bulletin). Plant Mucilages. XXVI. Isolation and Structural Features of a Mucilage, “Okra-mucilage F, ” from the Immature Fruits of Abelmoschus esculentus The slime comes from a thick gel inside these young fruits.9J-STAGE (Chemical and Pharmaceutical Bulletin). Plant Mucilages. XXVI. Isolation and Structural Features of a Mucilage, “Okra-mucilage F, ” from the Immature Fruits of Abelmoschus esculentus Cooking okra whole, quickly, or with acid like tomato helps keep it less slimy.
Avocados and olives are oily fruits, each built around a seed. An avocado’s large pit is a single seed, and it is eaten savory, like the tomato. Olives fit the pattern: an oily fruit with a stone, used as a savory food.
Is Corn a Fruit, a Grain or a Vegetable
A corn kernel is a dry fruit holding one seed.10Northern Arizona University. Maize The thin fruit wall is fused to the seed coat,11Science ABC. Fruits That Are Actually Vegetables so the skin that sticks in your teeth is the outer fruit layer.12OpenStax Biology. Fruits That Are Actually Vegetables Each kernel is a fruit and a seed at the same time.11Science ABC. Fruits That Are Actually Vegetables Wheat, rice and oats are the same kind of grain fruit.
Corn counts as several things. As a dried staple it is a grain, like wheat or rice, while fresh sweet corn on the cob is served as a vegetable.
Why the Kitchen Calls Them Vegetables
Cooks use “vegetable” to group plant foods by taste rather than botany.13Cuisine for Healing. Fruits That Are Actually Vegetables Savory foods served with the main course get called vegetables, and sweet ones served as dessert get called fruit.8Justia. Nix v. Hedden Generations of farming also made these fruits bigger, less seedy and less bitter, pushing them further toward the savory plate.7PubMed Central. Domestication of Plants in the Americas: Insights from Mendelian and Molecular Genetics Farmed peppers grow larger fruits than wild peppers,7PubMed Central. Domestication of Plants in the Americas: Insights from Mendelian and Molecular Genetics and many crops lost the bitter defense chemicals their wild relatives carry.7PubMed Central. Domestication of Plants in the Americas: Insights from Mendelian and Molecular Genetics7PubMed Central. Domestication of Plants in the Americas: Insights from Mendelian and Molecular Genetics A tomato or cucumber sold today is a fruit bred to eat as a vegetable.
For recipes, shopping and diet advice, the kitchen label is the useful one. For gardening and seed saving, the botanical label tells you where seeds form.
The savory-versus-sweet line is fuzzy, because the kitchen category is a convention, not a rule. Rhubarb is cooked sweet, and sweet potatoes and carrots turn up in desserts. Cooks decide by how a food is used in a given dish, so the same food can switch sides: a tomato is a vegetable in sauce, but green tomatoes are sometimes made into sweet jam or pie.
The Supreme Court Tomato Case
An 1883 US tariff taxed imported vegetables but not fruit.14Applied Corpus Linguistics. Prototype-by-component analysis: A corpus-based, intensional approach to ordinary meaning in statutory interpretation A produce importer sued to get its tomato taxes back, arguing tomatoes are fruit.14Applied Corpus Linguistics. Prototype-by-component analysis: A corpus-based, intensional approach to ordinary meaning in statutory interpretation In 1893 the Supreme Court ruled unanimously that tomatoes are vegetables.14Applied Corpus Linguistics. Prototype-by-component analysis: A corpus-based, intensional approach to ordinary meaning in statutory interpretation The justices agreed tomatoes are botanically fruit, but held that laws use everyday meaning, so the importer had to keep paying the tax.15NPR. When The Supreme Court Decided Tomatoes Were Vegetables The tariff law used the word “vegetables” without defining it, so the court asked how ordinary people use the word rather than how scientists do. The court defined vegetables as foods served with dinner rather than as dessert, and it named cucumbers, squash, beans and peas alongside tomatoes.
Vegetables People Treat as Fruit
Rhubarb is the mirror image of the tomato: a vegetable that is used the way fruit is in cooking.16Wikipedia. Rhubarb The part eaten is the leaf stalk, not a seed-bearing fruit. It gets baked into pies and cooked into jam,2City Fruit. Fruit means more than you think! while tomatoes go into savory sauces. Eat only the stalks and throw away the leaves, which are poisonous.
The edible part is the thick, often red or pink stalk that holds up the big leaf, which is why it is called a leaf stalk. The flavor is very tart, so recipes add a good deal of sugar, which is why it behaves like fruit in desserts.
Other true vegetables go sweet too. Sweet potatoes, a root, go into pies, and carrots, also a root, star in carrot cake.
Does the Label Change Nutrition
Different plant parts bring different nutrients. Root vegetables can supply more zinc and selenium than leafy greens or fresh fruit, and roots were rich in some protective plant compounds.17Journal of the Science of Food and Agriculture. Antioxidant and micronutrient quality of fruit and root vegetables from the Indian subcontinent and their comparative performance with green leafy vegetables and fruits Raw fruit-vegetables like tomatoes and peppers, though, scored highest on some antioxidant measures.17Journal of the Science of Food and Agriculture. Antioxidant and micronutrient quality of fruit and root vegetables from the Indian subcontinent and their comparative performance with green leafy vegetables and fruits Eating a mix of roots, leaves and fruit-vegetables covers more needs than choosing by label.
A cucumber and a mango are both fruits yet differ greatly in sugar. Recommendations count fruit-vegetables toward your vegetable servings, so plan meals by the kitchen categories. A simple habit is to vary colors and plant parts across the week: a salad with tomato and cucumber one day, roasted carrots or beets another, and greens on a third.

