CCC 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.1
1 Cf. CIC, can. 1176 # 3.