The difference between AI, machine learning (ML), and deep learning (DL) lies in the scope of specificity:
AI deals broadly with building computer systems that can learn on their own.
ML is a subset of AI that deals with algorithms that can self-learn from training data.
DL is a subset of ML that deals with neural networks—specifically those that have more than one “hidden” layer between the input and output layers of the network.