How Animals Adapt to Survive