NLP is a subset of machine learning algorithms that analyses text input to extract new insights. Natural language processing applications include answering user queries, sentiment analysis, translation into a foreign language, searching engines, and document categorization.
The main idea is that NLP is the way to go if you want to conduct analytics or machine learning on text/sentence/word format data. It also uses AI.