The sacrament of the Anointing of the Sick is administered to the dying as well as to those who are gravely ill or about to undergo a serious operation. This sacrament of mercy and healing offers prayers for the recovery, but its primary intention is to give spiritual strength and calm the soul of the one suffering from illness. Traditionally, this sacrament was referred to as Extreme Unction or Last Rites.
Those who approach the sacrament of Penance obtain pardon from God’s mercy for the offense committed against him, and are, at the same time, reconciled with the Church which they have wounded by their sins and which by charity, by example, and by prayer labors for their conversion. – CCC 1422