Functions help break a program into smaller pieces. This avoids repetition of code, making larger programs more efficient and easier to maintain.
A function is a block of code that is only executed when called within a program.
You can pass data to the function. This data is known as a parameter or argument.
A function can return data as a result.