To summarize, AI handles problems that need human intellect, whereas ML is a branch of AI that handles particular issues by learning from data and generating predictions. It follows that while all AI is machine learning, not all AI is machine learning.