Mushrooms are a fungus, not a vegetable.
“ Mushrooms are a fungus, not a vegetable.”
Yes, and strawberries are a fruit and bananas are a berry.
Dietitians classify things differently than biology.