CCC 1030
Profession of Faith›SECTION TWO I. THE CREEDS›CHAPTER THREE I BELIEVE IN THE HOLY SPIRIT›III. The Final Purification, or Purgatory
All who die in God's 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.