"Having received from the Lord the charge to heal the sick, the Church strives to carry it out by taking care of the sick and accompanying them with her prayer of intercession. Above all, the Church possesses a sacrament specifically intended for the benefit of the sick. This sacrament was instituted by Christ and is attested by Saint James: 'Is anyone among you sick? Let him call in the priests of the Church and let them pray over him and anoint him with oil in the name of the Lord' (James 5:14-15)."
Compendium of the Catechism of the Catholic Church, n. 316