1030 All who die in Gods grace and friendship, but still imperfectly purified, are indeed assured of their eternal salvation; but after death they undergo purification, so as to achieve the holiness necessary to enter the joy of heaven.
1031 The Church gives the name Purgatory to this final purification of the elect, which is entirely different from the punishment of the damned.606 The Church formulated her doctrine of faith on Purgatory especially at the Councils of Florence and Trent. The tradition of the Church, by reference to certain texts of Scripture, speaks of a cleansing fire:607 (954, 1472)
1032 This teaching is also based on the practice of prayer for the dead, already mentioned in Sacred Scripture:
Therefore [Judas Maccabeus] made atonement for the dead, that they might be delivered from their sin.609 From the beginning the Church has honored the memory of the dead and offered prayers in suffrage for them, above all the Eucharistic sacrifice, so that, thus purified, they may attain the beatific vision of God.610 The Church also commends almsgiving, indulgences, and works of penance undertaken on behalf of the dead: (958, 1371, 1479)
There are further teachings about "indulgences", which is the doctrine that the "Treasury of Merit" - all the good works of "Saints" are stored up and ready to be credited to the account of those in Purgatory to hasten their time there (this was one of the main abuses of the Catholic church that prompted Luthers 95 Theses):
Obtaining indulgence from God through the Church
1478 An indulgence is obtained through the Church who, by virtue of the power of binding and loosing granted her by Christ Jesus, intervenes in favor of individual Christians and opens for them the treasury of the merits of Christ and the saints to obtain from the Father of mercies the remission of the temporal punishments due for their sins. Thus the Church does not want simply to come to the aid of these Christians, but also to spur them to works of devotion, penance, and charity.90 (981)
1479 Since the faithful departed now being purified are also members of the same communion of saints, one way we can help them is to obtain indulgences for them, so that the temporal punishments due for their sins may be remitted. (1032)
We are not *imperfectly purified*.
We have the righteousness of Christ credited to our account. We are as pure as we need to be.
Those who are born again, born of the Spirit, have a NEW nature, one that does not sin. When the body of flesh dies, all that is left is the perfected in Christ new nature.
We don’t take the flesh with us so there’s no need for cleansing from it.
You are free to believe whatever you choose.