A fern is any one of a group of about 12,000 species of plants belonging to the botanical group known as Pteridophyta. Unlike mosses, they have xylem and phloem (making them vascular plants). They have stems, leaves, and roots like other vascular plants. Ferns reproduce via spores and have neither seeds nor flowers.
By far the largest group of ferns is the leptosporangiate ferns, but ferns as defined here (also called monilophytes) include horsetails, whisk ferns, marattioid ferns, and ophioglossoid ferns. The term pteridophyte also refers to ferns and a few other seedless vascular plants (see classification section below).
Ferns first appear in the fossil record 360 million years ago in the Carboniferous but many of the current families and species did not appear until roughly 145 million years ago in the early Cretaceous (after flowering plants came to dominate many environments).
Ferns are not of major economic importance, but some are grown or gathered for food, as ornamental plants, for remediating contaminated soils, and have been the subject of research for their ability to remove some chemical pollutants from the air. Some are significant weeds. They also play a role in mythology, medicine, and art.