I saw this in my old textbook.. hope it helps...
1) medicine- the oil from ferns can keep the worm away in human body.
2) environment- it acts as a manure and benefits the soil.
3) food- it is eaten as a part of food and it is rich in carbohydrates..
All The Best!