Why do trees need fruit?

Fruit contain the seeds of the tree and are the means of reproduction.