Misunderstanding may arise by confusing the Buddhist and scientific definitions of death. Within the scientific system you spoke quite validly of the death of the brain and the death of heart. Different parts of the body can die separately. However, in the Buddhist system, the word death is not used in that way. You'd never speak of the death of a particular part of the body, but rather of the death of an entire person. When people say that a certain person died, we don't ask, "Well, which part died?"
Cats, dogs, and some I mean, birds, many species of mammals, they also have the sort of potential to show affection firstly because of the biological factor.