Fruits always have seeds and never grow underground while some vegetables dont have seeds and grow underground sometimes. By not having seeds I mean on the inside of the vegetables...pretty sure...
A vegetable can be edible seeds, roots, stems, leaves, bulbs, tubers or nonsweet fruits of any of numerous herbaceous plant. A fruit is the ripened reproductive body of a seed plant.
All fruits have seeds on the inside. So some of the fruits you thought were vegetables are fruits. Another way to separate veggies from fruits are most fruits grow above ground.Thanks@!