Purgatory

Since sinners had to work to pay the debt they accumulated in daily sin, they were not immediately welcomed into heaven. Purgatory was taught as the final stage in one's sanctification.