Plants are classified into two main groups: flowering plants and non-flowering plants. Flowering plants reproduce sexually through flowers and seeds, and are further divided into angiosperms and gymnosperms. Non-flowering plants reproduce asexually through spores and include ferns and mosses. All plants have three main parts: roots, stems, and leaves. Roots absorb water and minerals from the soil, stems transport fluids and support the plant, and leaves contain chlorophyll and perform photosynthesis to produce food for the plant.