Pergunta de entrevista da empresa Infosys

What are closures in JavaScript and why are they important?