A custodial investigation refers to the process of examining an individual while they are in custody, typically by law enforcement. This investigation aims to gather evidence, establish facts, and determine the circumstances surrounding a crime. It often involves interrogation, forensic analysis, and legal procedures to ensure accurate and fair outcomes.