They, depending on the paper you are using, allow you to center or compose the image on the photopaper without exposing the paper -- basically safelights for your enlarger.

Most photo paper is not sensitive to amber/orange light. Some other material such as litho film and some photo paper is not sensitive to red light.

Vaughn