As I recall, badly, from my last first aid instructor's class, there are about six different definitions of death.
One is biological - the heart stops as well as breathing.
Clinical - brain activity stops.
There are others, which at this point I don't recall. Each is dependant upon some other measure of biological and neurological activity.
I would point out that it is the purpose of CPR to bring someone back from biological death by externaly massaging the heart, called chest compressions.
As I'm typing I'm remembering more. I think there is a stage where CPR won't work, but a defibrilator will, and that is a different definition of death.
Hope this adds to the confusion.
Kelly