Forensic linguistics is the application of linguistic knowledge, methods, and insights to the forensic context of law, crime investigation, and judicial procedure. It involves analyzing language evidence to assist in legal cases, including author identification, discourse analysis, and interpretation of legal texts.