Network forensics involves the monitoring and analysis of computer network traffic for the purpose of information gathering, legal evidence, or intrusion detection. It is a critical component of cybersecurity, enabling organizations to investigate network breaches and ensure compliance with legal and regulatory requirements.