Deep learning, also called deep structured learning or hierarchical learning, is part of machine learning. Deep learning, just like machine learning, falls under the heading of Artificial Intelligence. The algorithm behind deep learning is based on pattern recognition. After an endless amount of input, for example photos of a dog, the algorithm learns itself to recognize a dog in the future.