Confirming death
Confirming death used to be straightforward. Death was said to occur when the heart stopped beating and a person was unresponsive and no longer breathing. The lack of oxygen, which occurred as a result of no blood flow, quickly led to the permanent loss of brain stem function.
Confirming death is now more complex, because it's possible to keep the heart beating after the brain stem has permanently stopped functioning. This can be done by keeping a person on a ventilator, which allows the body and heart to be artificially oxygenated. However, that person won't ever regain consciousness or start breathing again.
Once the brain stem has permanently stopped functioning, there's no way of reversing it and the heart will eventually stop beating, even if a ventilator continues to be used.
To save a person's family and friends from unnecessary suffering, once there's clear evidence that brain death has occurred, the person will be disconnected from the ventilator.