Difficulty in undestarnding concept

issue in undestanding the code

hey @divyanshu.tripathi98
which part of the concept do you have issue in?