Flowers are very pretty, but they also serve an important purpose for the plant. A flower carries the parts that will make new seeds.
Flowers need to attract insects to them so they can carry pollen from one plant to the other. They do this with coloured petals and nectar...