This is a simple DC to DC Power Supply. It is from a book called "The Basics v3 Intro to Electronics". I don't understand what is the point of resistor R1. If I remove R1 the circuit still works normally. I still get the same output voltage when I turn potentiometer to max and led is just as bright.

