AI is a broader concept encompassing ML. ML specifically focuses on developing algorithms that learn from data, while AI includes a wider range of tasks.