Is it a Science Fruit or Vegetable?

In Science, 4th grade has been learning...How do plants give us fruit?