It generates megaspores, which are larger female spores, and microspores, which are smaller male spores.
Heterospory was discovered in pteridophytes and is thought to have evolved during the Devonian period.
Cryptogams are another name for pteridophytes.
These plants exhibit generational alternation, which means that a diploid sporophyte creates gametes in the form of haploid spores, which then form a diploid sporophyte.
Pteridophytes are mostly homosporous, which means they generate comparable spores rather than microspores and megaspores.