Hell is a human concept very obviously wrapped around human ideals, morals, values, etc. Although the idea of purgatory has been an explanation for the restless and distressed spirits that roam the earth which we encounter as "hauntings". It's a belief that is present by various names world wide and way before Christianity. Even reincarnation such as in Buddhism believed you can reincarnate into a " hungry ghost ". New Agers like to think it's human life to human life only but that isn't the original ancient concept.
Obviously, there is a right and wrong way to live, and the wrong way leads to self torment, the same as it does here and can be seen in mental hospitals, but it's not wrapped up in " sins ". The evidence points to it being more centralized with living without regret and taking care of issues now. Death won't solve them.