As everybody knows while a man is alive in the world it is the spirit which both suffers pains and feels joys and happiness. Although the spirit feels pains in appearance through the nervous system and uses this system in its extremely complicated acts of communicating with all parts of the body down to each cell of it- it is still a mystery for science what type of an interaction there is between the spirit and the body including especially the brain.
Any kind of failure in any part of the body which causes death can also be sufficient for the nervous system to stop operating. However as scientifically established certain cells of the brain continue to live for some time more after death scientists have been making studies to receive signals from the brain after death through those cells. If they succeed in doing so and can decipher those signals it will be useful especially in criminology in bringing to light the crimes whose authors have remained unknown. The following verses of the Holy Book which tell us how during the time of the Prophet Moses God revived a slain one who informed of his killer suggests this:
"When Moses said to his people. 'God commands you to sacrifice a cow.' ...they sacrificed her a thing they had scarcely done. And when you killed a living soul and disputed thereon 'God disclosed what you were hiding" so We said'. 'Smite him with part of it"' ; even so He brings to life the dead and He shows you His signs that haply you may have understanding (2:67. 72-3)."