eKalasaala Interview Question

What is the use of closures in JavaScript?