In animals, meiosis produces gametes directly. In land plants and some algae, there is an alternation of generations such that meiosis in the diploid sporophyte generation produces haploid spores. In both animals and plants, the final stage is for the gametes to fuse, restoring the original number of chromosomes.