In machine learning, we use Naive Bayes to classify inputs (like documents or emails) into categories (like Spam or Inbox).
Despite its simplicity, it is highly efficient and serves as a classic baseline model for text classification and sentiment analysis.