Ferns are pteridophytes. They are mostly found in damp and shady places.
These vascular plants do not produce seeds or flowers for reproduction hence called cryptogams.
Some ferns are dangerous. They may release spores that may result in poisoning due to oral ingestion. They may contain toxins that can damage the health of humans and animals.
If people with compromised immunity, like those with chronic obstructive pulmonary disease (COPD) from inhaling fern spores, can develop mold infections in the lungs.
For example, bracken fern (Pteridium aquilinum) affects horses and cattle, and sheep are resistant comparatively. This fern consists of a thiaminase inhibitor. It also contains a carcinogenic compound called ptaquiloside.