Having trouble understanding "scope"

Also
https://playground.arduino.cc/Code/VariableScope

.