PMW as digital output

So, now I know it is possible to use the PWM pins to let LEDs shine.

But what I not know is how I can LEDs shine when connected to the PWM-pins.
So if there is anyone who know how to program a Nano so I can use PWM pins to light-up LEDs connected to this pins, please will you write this down in this topic.