Sigmoid is a mathematical activation function that maps any number to the range between 0 and 1 along an S-shaped curve. It is used to represent probabilities in binary classification models, but it can suffer from vanishing gradients in deep networks, so it is mostly used in the final layer for binary classification rather than in hidden layers.
