Alternation of generations
Early land plants had sporophytes that produced identical spores: they looked the same whichever sex they developed into. The ancestors of the gymnosperms evolved complex heterosporous life cycles: the spores producing male and female gametophytes were of different sizes. The female megaspores tending to be larger, and fewer in number, than the male microspores.