Help with BT Controlled RGB LED Strip

What is the purpose of this line

    while (Serial.available() == 0) {

what happens if you remove it and its corresponding }

...R