Fact: Flowers attract pollinators, and fruits encourage animals to disperse the seeds. 
Topic: fruits animals disperse seeds.
Sweet fruit like apples are eaten by animals that disperse the undigested seeds.