What behaviors help animals survive?