Concept:Function

A function is a control structure available in many programming languages, useful for naming and encapsulating common activities and pre-defining common calculations or other procedures.

The same sort of thing may go by different names in different programming languages.