What if you could predict not just a number, but the chance of something happening — the probability that an email is spam, or that a customer will click? That is exactly what logistic regression does. It is one of the simplest, most widely used tools for answering yes/no questions with data.