I am new to the Arduino

digitalWrite(ledPin, HIGH); // switches on the LED
delay(1000); // waits for 1000 milliseconds = 1 second, then :-
digitalWrite(ledPin, LOW); // switches off the LED
delay(1000); // waits for 1000 milliseconds again = 1 second,