It's a fruit, duh.

Quote Originally Posted by Wikipedia (about the tomato)
The fruit is an edible, brightly coloured (usually red, from the pigment lycopene) berry, 1-2 cm diameter in wild plants, commonly much larger in cultivated forms.
http://en.wikipedia.org/wiki/Tomato