At this stage, you must make an important decision: whether to harvest the bulb or leave it in the ground. Harvesting will give you fresh onions, while leaving it will allow for more leaves and seeds to be harvested the next year.
Once the onion flowers have bloomed, they must be pollinated to produce seeds. Insects like bees, bumblebees, butterflies, and hoverflies usually do this.
Once the flowers are successfully pollinated, the seeds begin to develop. They will develop a hard outer shell and fall to the ground, where they will germinate in the spring.