When we die there is a life review that appears before us as a series of frames, all of which encapsulate singular moments — victory, defeat, pain, the pain we inflict upon others, etc. Every single moment is recorded. The records of this life are contained within The Akashic Records, which documents all moments in all lives and dimensions.
How can the life review create a ghost?
Upon reviewing the frames, a soul might see something compelling, monumental or perhaps even something they did terribly wrong. There is then a desire to go within the particular frame, back into that particular moment in time, in an attempt to relive the moment or to fix what has gone wrong. This is the reason many ghosts remain in the area of their human death; they are drawn to the event, particularly if it is traumatic. Some relive the moment or try to fix, stop or change it. They often become caught there, disoriented and unaware. They will linger there as long it takes to forgive themselves or realize that there is no changing the moment. Being caught like this is the very definition of limbo or purgatory.
The compulsion to enter the frame is similar to the one felt by humans who cannot let go of their past — just stronger.
Once the caught soul forgives themselves or gains acceptance and awareness they are able to pass on to the next reality. At times guides or friends are sent to aid the soul to this next level of existence.
Not all souls go into the frames; many only review and learn from them. They do not judge the experiences themselves, but know, rather, that everything they have done is a lesson to be learned. Once learnt, they pass to the next level of existence. This is the optimal result of the life review.