Sentiment analysis helps us analyse the emotional opinion of the text, which helps us determine whether the attitude of the content's author is positive, negative, or neutral.
Sentiment analysis doesn't tell us whether the author is angry or happy or sad, but it will tell us whether the content is positive, negative, neutral.