GuardDuty focuses on detecting and responding to threats and security vulnerabilities in your AWS environment. Macie focuses on discovering, classifying, and protecting sensitive data stored in AWS, helping you maintain data privacy and compliance.