How plants protect themselves from animals