Scientists may have unravelled what happens to the brain moments before death, suggesting it plays back significant memories. Research observed an 87-year-old epilepsy patient's brain activity, revealing fluctuations in brain waves tied to memory retrieval, particularly in the final seconds before and after cardiac arrest.