Ecologically, the ferns are most commonly plants of shaded damp forests of both temperate and tropical zones. Some fern species grow equally well on soil and upon rocks; others are confined strictly to rocky habitats, where they occur in fissures and crevices of cliff faces, boulders, and taluses.