What type of plant is a tomato?

What type of plant is a tomato?
A: Fruit
B: Vegetable
C: Leaf
D: Stem

Botanically; a tomato is a fruit; as it develops from the ovary of the plant. This is a frequent exam question in biology.