We are using only one light in this example, namely, a spot light. The spot light is setup so as it illuminates the model displayed inside the sphere. We do not use any lighting on the sphere since we apply a texture map to the sphere with the texture mode set to GL_DECAL.
Last, we enable the spot light here with the call glEnable(GL_LIGHT1) but we enable and disable lighting in our display function.