Why do we find flowers pretty in an evolutionary perspective?

And how did it come to be one of the most common gifts one could give to another?