Let's look at a use case: depending on the time of day, we want to turn lights on or off.

We can do that with an if else statement.