Know that “vegetable” is solely a culinary term.
A peach is a fruit, whoever you are, and a carrot is definitely a vegetable. But in the Venn diagram relating these two produce categories, there’s a sizeable region of overlap. It results from the fact that “fruit” and “vegetable” are defined differently depending on whether you’re a gardener or a chef.
Dead center of the overlapping region sits the tomato. So, why is it a fruit, and why is it a vegetable?
Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad.