Thanatology is the scientific study of death, including the causes and processes of death. Death is defined as the irreversible cessation of life through the permanent stoppage of circulatory, respiratory, and nervous systems. There are two main types of death - somatic/clinical death which is the loss of brain and body functions, and molecular/cellular death which is the death of individual cells after circulation and respiration cease. Brain death is considered legal death and can be of three types - cortical, brain stem, or whole brain. Determining death involves examining for the absence of brain stem reflexes and apnea during an apnea test. The causes, manner, timing and certification of death are important for legal and medical reasons including