As one of the primary producers in the environment the fern plant role is providing, food. Sometimes also used as an ornamental plant and is also used in remediating contaminated soil.
The are found from the early carboniferous era.
Like other plants, they too make their food and have been consumed by the other herbivorous animal