Death is often thought of as something sudden, but in many cases, the body begins to change long before the final moment.