Capgemini Interview Question

What is the use of "IF function"?