A function allows us to package up a series of code that can perform a specific task.

We can create our own functions or use a predefined function as follows:

.length() is a function that we call on the variable greeting.

For some methods we will pass parameters in the ().