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

This is a defense adaptation.