It executes code based on a condition. Frame the concept in practical terms so you can explain it during interview discussion.
An `if` statement evaluates a condition and, if true, executes the block of code inside it. For instance, in a checkout system, you might use `if (total > 100) { discount = 0.1; }` to apply a discount for totals over $100.