IIFE function

Not able to understand the example for - for loop inside the setTimeout function which are using some closures type of concept

can you resolve my doubt pleasew

can you resolve my doubt please