The process of determining the origin, cause, development, responsibility, and, when required, a failure analysis of a fire or explosion.