Question d’entretien chez Codesoft

Explain the concept of closures in JavaScript.