The main purpose of a plant’s flower is to