The answer is both.
Or at least we treat them like vegetables while cooking.
This is why nutritionists consider this botanical fruit a vegetable, and likely why you do, too.

Credit: Annabelle Breakey / Getty Images
That is until someone comes along and (smugly) corrects you, pointing out that tomatoes areactuallyfruit.
Well, it turns out, it’s not that cut and dry.
Who is correct: Is a tomato a fruit or a vegetable?

Credit:Caitlin Bensel
Botanical Classification: A Fruit
Botanically, a fruit is a ripened flower ovary that contains seeds.
That’s why tomatoes are considered fruit.
But you don’t often hear people wondering whether either of those veggies is actually fruit.
The controversy mostly concerns tomatoes, which meet the botanical criteria to be considered a fruit.
By this metric,produce like pumpkins, cucumbers, and peppers, like tomatoes, are all fruit.
For example, you wouldn’t eat eggplant or tomatoes to satisfy your recommended daily serving of fruit.
If you ask us, this is a bit of a to-MAY-to, to-MAH-to situation.
For us, it doesn’t matter what you call them, just don’t forget to salt them.
Fully convinced tomatoes are a fruit?