fruit
n. pl. fruit or fruits
The ripened ovary or ovaries of a seed-bearing plant, together with accessory parts, containing the seeds and occurring in a wide variety of forms.

veg·e·ta·ble
n.
A plant cultivated for an edible part, such as the root of the beet, the leaf of spinach, or the flower buds of broccoli or cauliflower.

to·ma·to
n. pl. to·ma·toes
A widely cultivated South American plant having edible, fleshy, usually red fruit.

I truly love them all (except Coconut, if that's considered a fruit).
co·co·nut
n.
The fruit of the coconut palm, consisting of a fibrous husk surrounding a large seed.

Looks like by definition both tomatoes and coconuts are fruit.