Loops are sets of repeating ordered segments. In X12 you can locate elements by specifying:
Transaction Set, for example 270 or 271
Loop, for example “info. receiver loop”
Occurrence of the loop
Segment, for example BGN
Field number, for example 01
Occurrence of the segment (if it is a repeating segment)