It takes a linear combination of features and squashes it through a sigmoid into a 0-1 probability, then thresholds for a class. It's the workhorse binary classifier: interpretable, fast, well-calibrated, a strong baseline. "Regression" in the name refers to the underlying linear model; the task is classification. Extend to multi-class with softmax.