How do birds know which fruit or seed are harmful

Or possibly 4) develop immunity to the poison.

(As a matter of fact, hawfinches can feed on cherry pits and yew seeds, which their beaks are powerful enough to crush, apparently without problems.)

That’s actually very common. Any species that can figure out how to detoxify a poison that affects most other species will have no competition for that food source. Many insects (which can adapt very quickly due to short generation times) are specialists on particular plants because they have evolved immunity to that plant’s toxins.

I had a 1# bag of barley in my cupboard I didn’t want so I mixed it in with the pigeon seed. Every morning I throw out a few cups. Most all of the barley was left behind. This puzzled me, it does eventually get eaten but seems to be last choice. The white peas are first choice.

I’m surprised that nobody has mentioned that most vertebrates have an instinct that causes them to be repelled by any food they ate shortly before becoming sick. This works even if the sickness wasn’t actually caused by the food. It won’t help, of course, against any poison that always kills with the first dose, but most poisons don’t work that way.

You’d think that instinct would work better with alcohol and hangovers.

You joke, but humans have evolved a particularly effective version of alcohol dehydrogenase. It probably originally was an adaptation that permitted ground-dwelling primates to detoxify alcohol in fruit that had fallen to the ground and started to ferment. Our attraction to alcohol is actually a beneficial adaptation to the level found in fermenting fruit. It becomes a problem when we ferment large amounts to consume by itself.

I think coffeecat’s point was that the instinct to avoid things that have made us sick seems not to work with alcohol, at least for some people.

As for insects that have adapted to eating toxic plants: monarch butterfly caterpillars eat milkweed, most species of which contain toxins. Not only do the monarchs exploit a food source that others can’t, they absorb and accumulate the toxins in their bodies, making them unattractive to predators. Biologists believe the distinct patterns on the bodies of the caterpillars and the wings of the butterflies are warning coloration.

And speaking of warning coloration, that’s another factor the birds have in their favor. Sure, the bird doesn’t want to eat poisonous plants, but the poisonous plants don’t want birds eating them, either. So they’ve both evolved to ensure that doesn’t happen: The poisonous plants have evolved warning signs, and the birds have evolved to recognize those signs.

As for alcohol, I think hangovers come too long after the drinking to trigger the effect. And getting so drunk that you get immediately sick is usually also associated with loss of memory, so even if the lesson is imparted, it doesn’t stick.

My point was that although alcohol is a poison, we have adapted to it so it doesn’t make us as sick as it does other animals. The fact that we are attracted to it in small amounts is in fact adaptive. It only really makes us sick under artificial modern conditions when we have access to too much of it at one time.

I’m familiar with warning coloration in insects and some other animals, but not in plants. A brief web search shows a couple of articles about plants using color to warn that they have armaments (spines, thorns or prickles). I can think of a lot of cases, though, where plants use bright colors to attract herbivores. Fruits that are brightly-colored attract birds and other fruit eaters, which spread the plant’s seeds (this is why fruits turn color when they’re ripe). Brightly-colored flowers attract pollinators. Can you name some plants that use warning coloration to deter birds?

Ah, I knew that; I just thought that birds passed them untouched. I never thought about about seed eaters. I have always assumed that the prunus fruits evolved edible fruit as a way to get the seeds spread and poisonous seeds evolved in parallel with birds evolving to not chew the seeds. All so birds would be fed and seeds would be spread.