According to medieval catholic teachings, inferno was the intermediate realm where christians were punished for repented sins that had not been expiated before their deaths.