Double fertilization.

One sperm fertilizes the egg to form the zygote.

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

Each ovule develops into a seed enclosed by a protective seed coat derived from the integument.

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

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