Functions are used to:
Reduce code duplication
Improve readability
Make code reusable
Simplify debugging and maintenance