AI is the simulation of human intelligence in machines, while ML is a subset of AI that focuses on training systems to learn from data.