Alternation of generation is a life cycle exhibited by cnidarians where there are two main body forms - the asexual polyp form and the sexual medusa form. The polyp reproduces asexually to produce male or female medusae, which undergo sexual reproduction to produce larvae that develop into new polyps, completing the alternation of generations life cycle.