When an animal encounters a potential threat in its environment, it must focus completely on the danger to protect itself.