Digital forensics is the discipline of investigating cybercrimes and digital incidents by recovering, analyzing, and preserving digital evidence. It includes: evidence preservation (chain of custody), disk imaging, file recovery, artifact analysis (logs, caches, registry), malware analysis, and expert testimony for legal proceedings. Digital forensics is used by law enforcement (criminal investigations), corporations (incident response, insider threats), and security firms (breach investigation, eDiscovery).