Logistic regression is estimating the parameters of a logistic model. More formally, a logistic model is one where the log-odds of the probability of an event is a linear combination of independent or predictor variables. The two possible dependent variable values are often labelled as "0" and "1", which represent outcomes such as pass/fail, win/lose, alive/dead or healthy/sick.
The binary logistic regression model can not only be generalized a linear model (visualized as a line) but also a non-linear model by adding more higher-ordered term