Sentiment analysis is the way software analyzes the attitude of a piece of text. On social media, sentiment analysis tools can be used to automatically detect whether customer feedback is positive, negative, or neutral. Social media marketers can also look at the average sentiment of their customer interactions over time to see the general mood of their audience or the overall response to their content.