Functionsin programmingparlance refers to a logical and unique way of bundling a set of instructions together into one handy and single program which can be reused in other programs.
Functions are a very important concept of programming as they allow a task to be written once and could be called in an <em>infinite amount of time when needed</em>.
They take a function name and optional argument. The syntas for writing functions any differ from one programming language to another.