Artificial intelligence (AI) is that a machine can perform complex tasks.
The 2 best-known sub fields are: machine learning and deep learning.
Machine Learning: algorithms that analyze and learn from the data. They can do predictive tasks like regression and classification.
Deep learning is a set of machine learning algorithms that use complex neural networks capable of learning from experience.
Machine Learning is a brand of AI, deep learning is a branch of Machine Learning.