Concept Flow - Activation records and call stack
Function Call
Create Activation Record
Push Record on Call Stack
Execute Function Body
Function Returns
Pop Activation Record from Stack
Resume Caller Execution
When a function is called, a new activation record is created and pushed onto the call stack. The function runs, then its record is popped off when it returns, resuming the caller.