A Function is a code block you can place your coding into so it cannot be activated unless if the Function is Called.
Here is an example for a function with parameters:
MORE INFORMATION