It is a way to create an endless loop that you will exit using the BREAK command, instead of when the test condition is true.
while 1=1
begin
<Do something>
if <some condition is true>break
<Do something else>
if <some other condition is true>break
end