text: The secretion of capsaicin protects the fruit from consumption by mammals while the bright colors attract birds that will disperse the seeds .
simplified: The plants developed the secretion of capsaicin to protect the fruit from being eaten by mammals . At the same time , the bright colors attract birds .