Cyber forensics focuses on investigating cybercrimes, while digital forensics encompasses a broader scope, including recovering and analyzing data from any digital device.