A zygote is a fertilized egg that is formed by the union or fusion of male(pollen) and female gamete(egg).
In flowering plants, the pollen tube(a tube that transfers the pollen from the stigma to the ovule) contains two male gametes, of which one fuses with the egg and results in the formation of the zygote.
This results in the formation of a seed.
Endosperm:
The endosperm is a tissue which surrounds the embryo of the seeds and it provides nutrition to the embryo.
The second male gamete that is present in the pollen tube fuses with two polar nuclei in the central cell.
This later results in the formation of the endosperm.