Why do flowers have petals?

5-7
8-10
11-13
14-15