As you probably already know, “if” is conditional. It is used to describe a possible situation, and what would happen under the conditions of that situation. “Unless” is also conditional, but it is effectively “if” with an extra exclusion or negative qualifier added. Unless basically means “except if” or “if… not”.