In gymnosperms and flowering plants, the megaspore is produced inside the nucleus of the ovule.
This pattern is characterized by cell plate formation after meiosis 1 & 2, which results in four one-nucleate megaspores, of which three degenerate.