Some report having seen light at the end of a tunnel, while others claim to have floated above their body, watching as medics save their lives.
But the reality of near-death experiences has always been debated.
Now scientists have discovered that a person's consciousness continues to work after the body has stopped showing signs of life - meaning they have awareness of their own death.
And there is evidence to suggest someone who has died may even hear their own death being announced by medics, the MailOnline reported.
The findings echo the plot line of the new Hollywood re-make of 90s cult horror Flatliners, starring Ellen Page.
In the film a group of young doctors embark on a dangerous experiment by taking turns to chemically induce their heart to stop and flatline to find out exactly what happens in the afterlife.
A team from New York University Langone School of Medicine investigated the very same question through twin studies in Europe and the US of people who have suffered cardiac arrest and 'come back' to life, in the largest study of its kind.
Study author Dr Sam Parnia told Live Science: "They'll describe watching doctors and nurses working and they'll describe having awareness of full conversations, of visual things that were going on, that would otherwise not be known to them."
He said these recollections were then verified by medical and nursing staff who reported their patients, who were technically dead, could remember details of what they were saying.
Death of brain cells can take hours
Medically speaking, doctors define death based on when the heart no longer beats, which then immediately cuts off blood supply to the brain.
"Technically, that's how you get the time of death - it's all based on the moment when the heart stops," explained Dr Sam Parnia.
"Once that happens, blood no longer circulates to the brain, which means brain function halts almost instantaneously.
"You lose all your brain stem reflexes - your gag reflex, your pupil reflex, all that is gone."
The brain's cerebral cortex - which is responsible for thinking and processing information from the five senses - also instantly flatlines, says Dr Parnia. This means that within 2 to 20 seconds, no brainwaves will be detected on an electric monitor.
This sparks a chain reaction of cellular processes that will result in the death of brain cells. However, this can take hours after the heart has stopped, he explained.
And performing cardiopulmonary resuscitation (CPR) that hasn't successfully revived a patient can still result in sending some blood to the brain - about 15 percent of what it requires to function normally.
But brain cell death is still happening, just at a slightly slower rate, he said.
BRAIN ACTIVITY IN DYING RATS SHEDS LIGHT ON MYSTERY
Studying the brain activity of dying rats may have shed light on the mystery of human near death experiences.
Researchers at the University of Michigan back in 2013 analysed the electrical signals in the brains of nine anaesthetised rats having an induced cardiac arrest.
They observed activity patterns associated with "a hyper-alerted state" shortly after clinical death.
The study's authors said near death experiences (NDEs) were reported by 20 per cent of cardiac arrest survivors.
People often claim they are evidence of an afterlife or the separation of the body and the soul.
But scientists have increasingly attributed these out of body experiences to physiological processes and it is believed they are as a result of unusual brain activity caused by reduced blood flow to the brain.