Placester interview question

What is a closure in JavaScript, and when would you use one?