Function

A function is a piece of code which takes input from different parameters. processes the information, and returns a value. The eliminates the need to code the processing of the information multiple times.