Could you please explain the code. Really unable to understand