 The consequences of failure may give rise to action under either criminal or civil law including but not limited to health and safety legislation, the laws of contract and/or product liability and the laws of tort.The field also deals with retracing processes and procedures leading to accidents in operation of vehicles or machinery.Generally, the purpose of a forensic engineering investigation is to locate cause or causes of failure with a view to improve performance or life of a component, or to assist a court in determining the facts of an accident.