title: Use of closure in scala
body: <p>I'm new to scala. I was reading about closure than I came across the definition of closure saying that:</p>
  
  <blockquote>
    <p>"The name arises from the act of "closing" the function literal by "capturing" the bindings of its free variables" .</p>
  </blockquote>
  
  <p>What does this line actually mean? How is closure really helpful? And what are is it's use-cases?</p>