The concept of 'let' in programming is used to declare variables that are limited in scope to the block, statement, or expression in which they are used, unlike 'var' which declares variables globally or locally to an entire function regardless of block scope. This allows for more predictable code behavior and helps avoid common errors related to variable hoisting and scope leakage.