These commands can be used within while and for loops; the break command breaks out of the loop and the continue command jumps to the end of the loop and continues with the next iteration.