How the classification works
Older systems used keyword lists: "love" and "great" score positive, "broken" and "terrible" score negative, add up the score. It is fast, cheap, and wrong often enough to be misleading — "not bad at all" gets scored negative because it contains "bad".
Modern systems use language models that read the sentence in context. "The delivery was late but support sorted it immediately" is mixed and mostly positive, and a model can register that where a word list cannot. Context also helps with negation, comparisons, and sentences where the sentiment attaches to something other than your brand.