Plants bear flowers primarily for sexual reproduction. Flowers contain the reproductive organs of the plant and are essential for the production of seeds. The petals and nectar of flowers attract pollinators, such as insects and birds, which carry pollen from the male parts (stamens) to the female parts (carpels), enabling fertilization to occur. The formation of seeds ensures the survival and dispersal of the plant's offspring to new locations.