Shell scripts can use loops such as the "for" and "while" loops. The "for" loop is used to iterate over a sequence of values, whereas the "while" loop is used to repeat commands as long as a certain condition is true.