The study of the environment and ecology to help understand the events that led to death or skeletal deposition.