Text Preprocessing in NLP: Bag of Words (BoW) and TF-IDF

Have you ever wondered how Machine Learning models understand human language?