The primary function of flower is reproduction. It also provides nectar to the insects that help in pollination.