Some plants have leaves that are poisonus to some animals. Which kind of adaptation is this?

This is an example of a defense mechanism adaptation. Plants have developed poisonus leaves as a way to protect themselves from being eaten by herbivores.