What is the difference between artificial intelligence, machine learning and deep learning?

Artificial intelligence (AI) is the broadest field. It aims to build systems that can simulate human mental abilities such as thinking, problem solving and decision making, and it includes many methods. One of these methods is machine learning (ML), a branch of AI focused on developing algorithms that let a machine learn from data and gradually improve its performance without being explicitly programmed in every detail. Deep learning (DL) is a subfield of machine learning based on multi-layer artificial neural networks, and it is highly capable of processing complex data such as images, sound and natural language with high accuracy. So deep learning is part of machine learning, and machine learning in turn is part of artificial intelligence.