The secretion of capsaicin is likely an evolutionary adaptation to protect the fruit from consumption by mammals while the bright colors attract birds that will spread the seeds .

The plants developed the secretion of capsaicin to protect the fruit from being eaten by mammals . These birds will spread the seeds .
