Question from the Machine Learning Algorithms test

In the context of NLP, what is the role of vectorization?