I always heard that biologically vegetables doesn't exist. Everything is fruit. (Except grain, flowers, the obvious)
So what are potatoes? That just a tuberculo.
Carrot? Just a root. Yes it's edible to humans but biologists don't really care because everything is edible to something.
Disclaimer: not a biologist, just a dude tired of people violently interrupting me to tell me that "akschually a strawberry is a nut!!!"