What are functions for?

Grouping and reusing related codeLooping over codeCreating arrays

Grouping and reusing related code.