You should know that your tag exposes a variable that can be used in the rest of the page. The <scope> defines where you can use that variable.
What part is confusing for you? Have you tried creating a tag and exposing a variable?