How to use millis function to turn led on for 5s then turn it off indefinitely?

Groove:

I dont want to use the delay function i want to use the Millis function?

Doesn't "delay()" use "millis()"?

perhaps he want to continue running code while it waits?