This example shows how functions help organize reusable code in bash scripting. First, the function greet is defined, storing the code to print a hello message with a name. Then the function is called twice with different names, Alice and Bob. Each call runs the same code but uses the argument passed in. Variables like $1 hold the argument value during each call. The function code does not run when defined, only when called. This way, we avoid repeating code and keep scripts neat. The execution table traces each step, showing when the function is created, called, and what output it produces. The variable tracker shows how $1 changes with each call. Understanding these steps helps beginners see how functions organize code for reuse.