An infinite loop is a loop that never exits. If the loop condition may happen to be always true, such loop becomes infinite. The "break" keyword is used to exit the current loop. Exit loop correctly using "break".