Description: Classification is a type of machine learning task in which data is sorted into predefined categories known as classes. During training, the model is given labelled examples that allow it to learn mathematical patterns mapping each input to the correct class. When new data is provided, the model applies these learned patterns to assign the most likely class. A common example is sorting emails into "spam" or "not spam".