I understand that Natural language processing (NLP) is a subfield of artificial intelligence that deals with the interaction between computers and human languages. What is the role of NLP in AI, and how is it being used in applications such as chatbots and language translation?