They're really simple. They just repeat stuff.
+ On spacebar pressed
+ Repeat 5 times
-> Add 1 to global variable 'test'
When you press spacebar, 5 is added to 'test' (it adds 1 five times, instantly)
+ Start of layout
+ Repeat 100 times
-> Create Star at random(640), random(480)
Creates 100 randomly positioned stars on startup.
There are some variations like For (loop over a range of numbers), For Each (repeat once for each instance of an object), and so on. You can read more in the Conditions article.