Answer explained
Endosperm is a triploid (3n) nutritive tissue formed by triple fusion of the central cell's two polar nuclei with one male gamete; it nourishes the embryo and is fully absorbed in many seeds (pea, gram) or persists in mature endospermic seeds (wheat, maize, castor). Perisperm is a diploid, maternal-tissue remnant of the nucellus that persists in some seeds (black pepper, beet) instead of, or alongside, endosperm — unlike endosperm, it is not formed by triple fusion.
Endosperm development: the primary endosperm nucleus (PEN) formed by triple fusion first divides repeatedly by free nuclear division (many free nuclei form without cell walls), followed by cell-wall formation (cellularisation) starting from the periphery. In coconut, the free-nuclear phase persists long as liquid endosperm (coconut water) before becoming cellular, forming the coconut meat.