Bryophytes have a haplo-diplontic life cycle in which haploid gametophyte is a dominant, independent, photosynthetic, thalloid, or erect, and it alternates with the short-lived multicellular sporophyte totally or partially dependent on the gametophyte for its anchorage and nutrition. Riccia and Marchantia are liverworts — a type of bryophyte. In gymnosperms (Cycas and Pinus) and in angiosperms (Hibiscus) diplontic life cycle is seen in which sporophyte is independent. In pteridophytes (Nephrolepis and Adiantum), the sporophyte and gametophyte both are photosynthetic and independent.