How does the behavior of animals help them survive?

it helps because they will be able to protect them selves better