It is used to skip the rest of a while or for loop and return to the start of the loop.
The pass statement is used as a placeholder for future code. When the pass statement is executed, nothing happens, but you avoid getting an error when empty code is not allowed.