Classification is a type of supervised machine learning task where the goal is to assign input data to one of several predefined categories or classes. Common algorithms include logistic regression, decision trees, and neural networks.