Is an onion a fruit or vegetable?

An onion is a vegetable.

While it might seem confusing, the answer lies in the botanical definition.

* Fruit: A mature ovary of a flowering plant, containing seeds.

* Vegetable: Any edible part of a plant, excluding the fruits and seeds.

Onions develop from the bulb of the plant, which is a modified stem structure used for storage. They don't contain seeds and aren't derived from a flower's ovary.

Therefore, according to botanical classification, onions are considered vegetables.