Network forensics is a sub-branch of digital forensics that specifically deals with the monitoring and analysis of network traffic to gather evidence or detect security incidents. It focuses on data in transit across a network rather than data stored on individual local devices.