Depending upon the environment, a human body can decompose within several weeks or up to several years. The various stages of decomposition can give vital clues as to how long a person has been dead; an important step in the investigation of a death.