Machine learning (ML) is a field of study in artificial intelligence defined as the capability of a machine to imitate intelligent human behavior, learning from data and performing tasks without explicit instructions. It is used in cybersecurity to automate mundane tasks, detect cyber attacks in their early stages, and reveal network vulnerabilities.