Double fertilization

One sperm fertilizes the egg to form the zygote that will develop into an embryo.

The other combines with two polar nuclei, producing an endosperm, which serves as food supply.

Each ovule develops into a seed containing the embryo and endosperm.

The ovary develops into a fruit enclosing the seed(s).

Thus a fruit is an organ containing one or more seeds.