Content analytics uses natural language processing techniques like n-grams and TF-IDF metrics to analyze content relevance. N-grams identify frequently occurring sequences of words in a document, while TF-IDF compares word frequencies in a topic corpus versus a general corpus to determine how important words are to a topic. By analyzing a document's n-grams against relevant topic corpora and a general corpus using TF-IDF, a content analyst can identify keywords that are highly relevant to the topic and optimize the document's content accordingly to improve search engine rankings.