CATECHISM OF THE CATHOLIC CHURCH
SECOND EDITION

Paragraphs 2298–2301

2298 In times past, cruel practices were commonly used by legitimate governments to maintain law and order, often without protest from the Pastors of the Church, who themselves adopted in their own tribunals the prescriptions of Roman law concerning torture. Regrettable as these facts are, the Church always taught the duty of clemency and mercy. She forbade clerics to shed blood. In recent times it has become evident that these cruel practices were neither necessary for public order, nor in conformity with the legitimate rights of the human person. On the contrary, these practices led to ones even more degrading. It is necessary to work for their abolition. We must pray for the victims and their tormentors.
2299 The dying should be given attention and care to help them live their last moments in dignity and peace. They will be helped by the prayer of their relatives, who must see to it that the sick receive at the proper time the sacraments that prepare them to meet the living God.
2300 The bodies of the dead must be treated with respect and charity, in faith and hope of the Resurrection. The burial of the dead is a corporal work of mercy; it honors the children of God, who are temples of the Holy Spirit.
2301 Autopsies can be morally permitted for legal inquests or scientific research. The free gift of organs after death is legitimate and can be meritorious.

The Church permits cremation, provided that it does not demonstrate a denial of faith in the resurrection of the body.