Roman Catechism 19.8

Chapter 19 — Part II: The Sacraments — Penance

Section 8. But an important distinction is to be made between these different significations of the word. The first kind of penance must be considered faulty; the second is only the agitation of a disturbed mind; the third we call both a virtue and a Sacrament. In this last sense penance is taken here.