The difference between knowledge and wisdom is. Knowledge: is knowing the tomato is a fruit.
Wisdom: is knowing not to put it in a fruit salad....
So putting tomato on a pizza works. Putting it in a fruit salad doesn't - same as pineapple.
Because tomatoes are botanically fruits since they contain seeds, but culinary vegetables since they lack sweetness. When we're talking about tomatoes as pizza topping, the culinary definition is the most suitable.