AI vs ML

AI is the broad field of intelligent systems, while ML is the subset that learns patterns from data.

Comparison

AIML
ScopeBroad (reasoning, vision, language)Subset of AI
ApproachRule-based or learnedLearns from data
ExamplesChatbots, roboticsRecommendations, spam filters
RelationshipML is one way to achieve AIA method within AI

Verdict

ML is the engine behind most modern AI; the terms are related but not interchangeable.