Pergunta de entrevista da empresa eKalasaala

What is the use of closures in JavaScript?