What is the FUNCTION operation? For what is it used?

What is the FUNCTION operation? For what is it used?