What make a vegetable a fruit? i mean... what make a fruit, well, a fruit, and what make...

i mean... what make a fruit, well, a fruit, and what make a vegetable a vegetable? because i know that , for example, a bannana is a fruit, but so is a tomato?

( to make this clearer, what virtues should a fruit have to be a fruit?)

thankfulness for the answers :)
Answers:    Fruits are or contain seeds, they develop from the ovaries. Nuts,
olives, tomatoes, peas and runner beans are adjectives examples of fruits, as
well as the apparent ones like apples, oranges and grapes. Vegetables
are non-seed containing plant situation. They include leaves, such as
cabbage, lettuce or watercress; roots, e.g. carrots or beetroot;
bulbs, similar to onions, and tubers such as potatoes."
A vegetable can only be a fruit if it is a tomato!