The plant life cycle involves both haploid and diploid phases. During the haploid phase, spores are produced via meiosis and germinate into multicellular gametophytes. Gametophytes produce gametes via mitosis. Flowering plants (angiosperms) have dominant diploid sporophyte phases that produce flowers. Within flowers, pollen grains containing male gametophytes are produced via meiosis in the anthers, while the pistil contains ovules with female gametophytes.