In coding loop means repeat something. You tell the character or robot to loop things.Loop is a code that repeat a thing many times. For example if you want your character to move forward 10 time, you can use loop and put 10 in the repeat time, instead of use move forward for 10 times. You can use loop for many kind of codes, you can use it to jump 10 times. I personally think loop is a very useful code, because you can tell the robot to do thing for a tons of time, but only use 2–4 code. You looped things everyday! You wake up, brush your teeth, go to bathroom, eat breakfast.
In Instagram, when you take a picture for story there is a thing when you clicked on it and then take a picture, what ever you do in that 2–3 seconds the app will make your photo into a loop. Your picture will do the same thing over and over again.