Alif Interview Question

Explain the concept of closures in JavaScript. Provide an example.