Purgatory

Purgatory is a place where Spirits go when they can't move on to the Afterlife of Heaven or Hell so spirits are trapped in a place called Purgatory where they become ghosts