Sentiment analysis is used in social media such as Facebook and Twitter, to find the sentiments (positive/negative) of the general public over an issue. They are also used to establish the sentiments of people regarding advertisements and how people feel about your product, brand, or service.