The main parts of a flower include the sepals, petals, stamens, and pistil. The sepals support and protect the unopened bud, the petals attract pollinators, the stamens are the male parts that produce pollen, and the pistil is the female part consisting of the stigma, style, and ovary containing the ovules that develop into fruit.