Most people can tell the difference between fruits and vegetables at the grocery store. But the distinction gets a little confusing once you look at how botanists classify plants.
Botanically, a fruit develops from a flower and contains seeds, while vegetables refer to other edible parts of a plant, such as roots, stems, leaves, and bulbs. This means several foods we regularly serve as vegetables are actually fruits.
Their savory flavors and the way we use them in everyday meals are probably why many people never think of them as fruits. Here are 15 familiar foods that have a different botanical classification than you might expect.

Tomatoes
Tomatoes are probably the best-known example of a fruit that most people treat as a vegetable. We slice them for sandwiches, add them to salads, and cook them into sauces without giving their classification much thought.
Since tomatoes develop from flowers and contain seeds, they’re fruits botanically. They’re also classified as berries, which may be another surprise.
Related: These 14 Foods Usually Stay Good Well Past the Date on the Package
Cucumbers
Cucumbers seem like obvious vegetables, especially when served in salads or alongside a plate of dip. But each one grows from a flower and contains seeds, making it a fruit.
Their crisp texture and mild flavor make them a popular addition to savory meals. You probably won’t find many people putting cucumber in a fruit salad, though.
Bell Peppers
Green, red, yellow, and orange bell peppers show up in all kinds of meals, from fajitas and stir-fries to pasta dishes. They’re also fruits because they grow from flowers and contain seeds.
As bell peppers ripen, their flavor often becomes sweeter, particularly in red and yellow varieties. That sweetness makes their botanical classification a little easier to believe.
Zucchini
Most people think of zucchini as a vegetable because it’s commonly grilled, sautéed, or added to casseroles. It’s also a popular ingredient in baked goods, including zucchini bread.
Botanically, zucchini is a fruit because it develops from a flower and contains seeds. It belongs to the squash family, which includes several other foods commonly treated as vegetables.
Eggplant
Eggplant is often treated as a vegetable, thanks to its use in dishes like eggplant parmesan, curries, and roasted vegetable mixes. But it actually meets the botanical definition of a fruit.
It grows from a fertilized flower and contains numerous small seeds inside. Those seeds are easy to miss, especially when the eggplant is young.
Olives
Olives are usually associated with pizza, pasta, salads, and savory appetizers, so calling them fruits might sound unusual. Each olive develops from a flower and has a pit that surrounds its seed.
Botanically, olives are drupes, a type of fruit that also includes peaches, cherries, and plums. Their savory taste doesn’t change that classification.
Pumpkins
Pumpkins are common in vegetable gardens and often end up in soups, pies, and roasted dishes. Still, they’re fruits because they develop from flowers and contain seeds inside their thick flesh.
Pumpkins belong to the squash family, just like zucchini and butternut squash. Their sweet or savory uses in the kitchen don’t change their botanical classification.
Avocados
Avocados are usually served in savory meals, so it’s easy to forget they’re fruits. They’re common in guacamole, sandwiches, salads, and avocado toast.
Botanically, avocados are classified as berries because they develop from flowers and contain a large seed surrounded by fleshy fruit. Their creamy texture and mild flavor make them a good fit for many savory recipes.
Chili Peppers
Jalapeños, serranos, habaneros, and cayenne peppers are all fruits, just like bell peppers. They grow from flowers and contain seeds inside.
Their heat comes from a compound called capsaicin, which has nothing to do with whether they’re fruits or vegetables. Whether a pepper is mild or extremely spicy, its botanical classification stays the same.
Butternut Squash
Butternut squash is a common ingredient in soups, casseroles, roasted dishes, and side dishes. Although it’s usually sold and served as a vegetable, it’s botanically a fruit.
It grows from the plant’s flower and contains seeds inside. Its naturally sweet flesh becomes even sweeter after roasting, making it a favorite for fall and winter meals.
Green Beans
Green beans are a little different from some of the other foods on this list because we eat the entire pod, not just the seeds. That pod develops from a flower and holds the plant’s developing seeds.
Since it contains seeds and grows from a flower, the green bean pod is classified as a fruit. In everyday cooking, though, it’s still treated as a vegetable.
Peas
Peas have a similar classification to green beans, but we eat different parts. The peas themselves are seeds, while the pod surrounding them is the fruit that develops from the flower.
That’s why peas fall under the botanical fruit category. At the dinner table, they’re still commonly served as a vegetable.
Okra
Okra’s long, ridged pods grow from flowers and contain rows of seeds inside. That makes the edible pod a fruit botanically.
Most people associate okra with savory dishes such as gumbo, soups, and stews. Its texture and use in cooking are why it’s usually grouped with vegetables.
Sweet Corn
Corn has a slightly different classification because its botanical and culinary descriptions can vary. Each corn kernel is technically a dry fruit called a caryopsis, in which the seed is joined to the fruit wall.
Fresh sweet corn is usually treated as a vegetable in cooking, while dried corn is commonly grouped with grains. That’s why corn can fall into different food categories depending on how it’s being discussed.
Chayote
Chayote is a pear-shaped member of the squash family that may be less familiar than tomatoes or cucumbers. It grows from a flower and contains one large seed in the middle, making it a fruit.
Its mild flavor makes it a common addition to soups, stir-fries, stews, and roasted dishes. Most people cook it like a vegetable, even though its botanical classification says otherwise.
Other Topics You Might Like
- 13 Gardening Antiques Collectors Love and Often Pay Up For
- I Stopped Buying Fertilizers After Years of Gardening and Started Using This Instead
- Some of the Best Gardening Tips I Ever Got That Break All the Rules
- 9 Vintage Gardening Tools Hiding in Grandma’s Potting Shed— Some Could Be Worth a Small Fortune
