A post mortem (sometimes called an autopsy) is an examination carried out by a pathologist after a death where is necessary to establish the medical cause of death.
The majority of deaths do not require any post mortem because the medical cause of death can be certified by a doctor who has been treating the deceased in the months prior to the death, i.e. a GP or hospital doctor.