Flowers are plant organs of reproduction. Wise up Plants form flowers in response to particular climate changes such as sunny, dry conditions or drought. Plants that have good growing conditions are unlikely to produce many flowers, but instead will form many green leaves and increase their size rapidly. Flowering is a plant survival response.
Some plants reproduce to form similar identical plants by sending out runners e.g. strawberry .
This is termed asexual reproduction as it does not require reproduction by flowering. This type of reproduction is simple copying, but may not help a plant survive in the long-term particularly if there is sudden climate change as all plants are identical. You should contrast this to sexual reproduction in plants, which requires the formation of flowers so that genetic material is exchanged. This exchange creates variety in a new generation and aids survival of the plant species. Flowers are a plant's reproductive organs.