Introduction
Functions help us organize code into small tasks. Calling a function runs its code step-by-step.
When you want to repeat a task many times without rewriting code.
When you want to break a big problem into smaller, easier parts.
When you want to reuse code in different places.
When you want to make your program easier to read and understand.