What is function.

What is function.
A function is a block of organized and reusable program code that performs a single and well defined task.