The break statement is used to break out of a switch or a loop. In a loop, it breaks out of the loop and continues executing code after the loop.