They have two different stages, namely sporophyte, and gametophyte. Sporophyte releases spores, and they are diploid, gametophyte releases gametes, and they are haploid. So ferns undergo two generations of plants to complete their life cycle, a life cycle that is called the alternation of generation.