The purpose of a flower is to draw/ attract pollinators in order to help carry out the process of fertilization. (Their bright colors, nectar, and exc. help attract pollinators such as bees and birds.) The structure of the flower that carries out this function is the ovary and the stamen. ( female and male reproductive parts of plants). Hope this helps! :)