- A process for executing a task
- It can accept input and return an output
- Useful way for executing similar procuderes over and over
Or it's a way to package up a bunch of lines of code and make them reusable.
colors = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo']