A person is considered brain dead when there is no brain function whatsoever and there is no chance of recovering any brain function. It is only after a patient is declared to be brain dead that the organs are donated.