The context in which a variable, function, or other code element is defined and can be referenced.
"The variable's scope was limited to the function in which it was declared."
— @openai · February 25, 2024