PubMatic interview question

Difference between var and let keywords in JS.