Infosys interview question

Give real life example of function.