forensic
Relating to the gathering, preparation, or presentation of evidence in court.
The application of scientific or medical principles to the law.