Ferns were some of the earliest plants to move from an aquatic to terrestrial environment. They evolved vascular systems to transport water and nutrients and alternation of generations for sexual reproduction. Sword ferns and wood ferns are examples of common garden ferns. Sword ferns prefer partial shade and wood moisture while coastal wood ferns are found near coasts in forests and ravines. Both reproduce via spores produced in sori on their fronds.