Deep learning (DL) is a subset of machine learning, which is a subset of artificial intelligence. Deep learning is concerned with algorithms that can learn to recognize patterns in data, whereas machine learning is more general and deals with algorithms that can learn any kind of task.