Most prey animals will avoid fights with predators, if at all possible. Therefore, many species have evolved tricks to try to keep predators from attacking.
Some animal species have developed methods of warning others that predators are nearby. Vervet monkeys, for example, use different alarm calls to alert one another of approaching predators. If the intruder is a snake, the alarm call sounds different from the one the monkeys use to warn of a leopard or an eagle. This trick tells other monkeys where to direct their attention when trying to avoid the predator.