The malaria parasite ( Plasmodium ), for example, has a complex life cycle involving the alternation of sexually and asexually reproducing generations.
The life cycle of plants is so complex because of the alternation of generation.