AI is implemented in the system and ML is an application of AI that enables a system to automatically learn and improve from experience.

The key difference between Artificial Intelligence (AI) and Machine Learning (ML):

ARTIFICIAL INTELLIGENCE
MACHINE LEARNING
AI stands for Artificial intelligence, where intelligence is defined acquisition of knowledge intelligence is defined as an ability to acquire and apply knowledge. ML stands for Machine Learning which is defined as the acquisition of knowledge or skill
The aim is to increase the chances of success and not accuracy. The aim is to increase the accuracy, not the success rate.
Works as a computer program that does smart work It is a simple concept machine takes data and learns from data.
The goal is to simulate natural intelligence to solve a complex problem The goal is to learn from data and maximize the performance of the machine on this task.
AI is decision making. ML allows the system to learn new things from data.
Guides to advance a system to mimic human responses in a circumstances. It involves creating self-learning algorithms.
AI will go for finding the optimal solution. ML will go for only a solution irrespective of a favorable one.
AI leads to intelligence or wisdom. ML leads to knowledge.