In plants, the diploid megaspore mother cell is differentiated from one of the cells of the nucellus by the process of megasporogenesis. This diploid mother cell undergoes meiosis to form four haploid megaspores from which one of the megaspores remains enclosed within the megasporangium and develop into a multicellular female gametophyte that is retained within the megasporangium.