There are two types of Loops. They are as follows:
Times Loop : It allows us to perform a certain action n number of times. Times Loop specifies the number of times the Loop block to be executed.
Each item : Each item is used to iterate each key in the given array. It allows us to perform certain actions for all the elements of a collection.