IF function check if an one operation is True or false, then based on the result its don an operation (if its true) and another operation if it is False

IF function check if an one operation is True or false, then based on the result its don an operation (if its true) and another operation if it is False