The female gametophyte is developed in the ovary of the plant which is present in the carpel of the flower. It happens in two phases Megasporogenesis and Megagametogenesis. A diploid megaspore mother cell, present in the ovule undergoes meiosis and 4 haploid megaspores are formed. Only one out of four survives.