If condition

2 is smaller than 6


Case Condition

i equals 2

Conditions allow the script to make decisions and run different code depending on if something is true or false. An if/else statement checks
a condition and runs one line of code, if it is true and another if it is false. A switch/case statement compares a single value against multiple
possible options and runs the code for whichever case matches, which is useful when there are many possible outcomes to check.