For binary classification, we use the sigmoid function. For multiclass classification (3 or more classes), we need a generalization that outputs a valid probability distribution.
The softmax function exponentiates and normalizes multiple logits so they sum to 1.0.
