- Functions are individual pieces of logic, like getting a record from the database, or generating a random number.
- Filters are applied ‘inline’ to other values, and are used to transform or manipulate data, such as trimming whitespace or converting to uppercase.