The commonality that all flowering plants (angiosperms) share with all non-flowering plants (such as ferns, mosses, and gymnosperms) is the production of spores.
Both groups of plants reproduce and propagate through spores, although flowering plants primarily reproduce through seeds produced from flowers and fruits. Non-flowering plants reproduce through spores, which is a fundamental way of reproduction for many types of plants throughout their life cycles.