A custodial investigation refers to an inquiry conducted while an individual is in custody, typically by law enforcement. This process involves questioning the suspect to gather evidence or information related to a crime, ensuring legal rights are observed.