https://en.wikipedia.org/w/index.php?title=Onion&type=revisi...
Apparently a fruit is the ripened ovary of a flowering plant, enclosing the seed or seeds--not a bulb like an onion.