Some individual animals will die or receive damage while birds or mammals on the attack learn about the connection between colour and taste. However, if warning costs less than hiding, the animal benefits. And the advertising traits such as colours may serve other functions as well. The patterns may help mate identification within the species, for instance.