# Boolean Logic

**00:00**
In this lesson, you’ll get a bit of a background about what Boolean logic is.

**00:06**
Boolean logic is named after George Boole, who developed a whole system of mathematics based on two values called *true* and *false* and the operations on them, three of them: *AND*, *OR*, or *NOT*. Since computers work in binary—two values, although we call them 1 and 0—Boolean algebra became the natural way to design and build computers.

**00:29**
Boolean expressions are the types of expressions we use in `if`

and `while`

statements. Using Boolean operators can allow you more precise and sometimes more complicated conditions to describe which branch of an `if`

statement to execute or when to repeat an iteration in a `while`

loop. In the next lesson, we’ll actually take a look at some terms important to using Boolean logic in Python.

Become a Member to join the conversation.