Pregunta de entrevista de Alif

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