ANN is a group of algorithms that are used for machine learning (or precisely deep learning). Alternatively, think like this – ANN is a form of deep learning, which is a type of machine learning, and machine learning is a subfield of artificial intelligence.