IF-THEN block is used to check certain conditions. If the condition is true, the code is executed. If the condition is false the code is ignored.