Learn about this topic in these articles:

death and the soul

...In either case, the total and irreversible loss of these functions dramatically alters the ontological status of the subject. Descartes specifically considered the example of death. In “
La Description du corps humain” (1664) he wrote that “although movements cease in the body when it is dead and the soul departs, one cannot deduce from these facts that the soul produced...