AI encompasses a broad range of technologies that mimic human intelligence, while machine learning is a subset of AI. It focuses on systems that learn from data to improve performance.