you got the code tags wrong (you have to paste your code in between the three back ticks). I fixed that for you.
regarding your question, the code does exactly what you say....
servo_9.write(180); //servo goes in motion CW
digitalWrite(6, HIGH); //Blue LED is on
delay(2000); // Wait for 2000 millisecond(s)
servo_9.write(0); //servo goes in motion CCW
...
things happen in sequence, with the delays in between
you need to get familiar with final finite state machine and using millis to handle time
For extra information and examples look at