Dear student,
First is pollination followed by germination of pollen grain on the stigma and fertilisation of one of the male nuclei (develops into an embryo) and egg and other male nuclei and polar nuclei (develops into an endosperm). Outer wall of the ovule like inner and outer integument form the seed coat enclosing endosperm and embryo inside it. Fruit is formed after fertilization in plants. The ovules form seeds and the ovary matures into fruit.
Regards.