The Catechism of the Catholic Church is a masterful document – I wish we Anglicans had something like it. Due to my Mom’s death, I read what it says about the treatment of the dead:
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.
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.
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.
I love how the Catechism deals with just about everything you can think of in life. I don’t like autopsies, giving organs or cremation, but the Catholic approach does seem sensible to me. And it must be comforting to know that there are answers to these things rather than simply making up an answer.
Outside the Catechism, canon law states:
ECCLESIASTICAL FUNERALS (Cann. 1176 – 1185)
§3. The Church earnestly recommends that the pious custom of burying the bodies of the deceased be observed; nevertheless, the Church does not prohibit cremation unless it was chosen for reasons contrary to Christian doctrine.