Animal behavior involves all the ways animals communicate with other organisms and the physical environment. Behavior is molded by natural selection. Many behaviors immediately enhance an organism's robustness, that is, they maintain it persists and reproduces .natural selections among the animals are base on their ways or their role in the food chain whether they are the predator or a prey. Natural selection is the one you will assess if you are gonna leave or die but it doesn't mean that there is no way of survival. I think their role in the chain mold them and explained to them how to endure in the wild.