An autopsy is a specialized examination of a corpse to determine cause and manner of death. There are two types of autopsies - forensic autopsies which are required when criminal activity is suspected or cause of death is unclear, and clinical autopsies which are done to prevent future deaths. Early post-mortem changes like algor mortis, livor mortis and rigor mortis can help estimate time of death. A corpse will decompose in predictable stages over weeks and months, and forensic entomology uses insect evidence to further determine time since death.