In logistic regression, the model predicts the odds of an event happening rather than directly predicting probabilities. The odds are defined as:

where is the probability of success. The log-odds (or logit function) is the natural logarithm of the odds: This transformation makes the relationship between the independent variables and the dependent variable linear, allowing logistic regression to estimate the parameters and .

Resources:

What is the difference between odds and probability