One of the most important parts of JavaScript is making code that other code can reuse. To do this, you organize your code into functions that perform specific tasks. A function is a series of code statements combined in a single block and given a name. You can then execute the code in the block by referencing that name.