Sometimes we wish to program something such as a day-night cycle, but we don't know how long the program should run, so we program it to run indefinitely.
That's how day and night cycle between each other until another command tells them to stop or the program is switched off.
Here's how to do this: