NLP analyzes text written in natural language, e.g. news, letters, contracts, social media posts, and so on. It can extract named entities (see NER), sentiment, roles, relationships, themes, and more from raw unstructured text. OCR is required before it can be applied to scanned images.