A light layer can affect the colors of the 3D layers that it shines on, depending on the light’s settings and the Material Options properties of the 3D layers. Each light, by default, points to its point of interest.
Lights can be used to illuminate 3D layers and to cast shadows, either to match lighting conditions of the scene into which you are compositing or to create more interesting visual results such as the appearance of light streaming through a layer as if it were made of stained glass.

You can animate all of a light’s settings, except for Casts Shadows.
You can specify which 3D layers a light affects by designating the light as an adjustment layer—place the light in the Timeline panel above the layers on which you want it to shine. Layers that are above a light adjustment layer in the layer stacking order in the Timeline panel do not receive the light, regardless of the layers’ positions in the Composition panel.
Create a light
Choose Layer > New >
Light, or press Ctrl+Alt+Shift+L (Windows) or Command+Option+Shift+L
(Mac OS).
Change light settings
Double-click a light layer in
the Timeline panel or select the layer and choose Layer >
Light Settings.
Light settings
Press Alt+Shift+C (Windows) or Option+Shift+C (Mac OS)
to toggle Casts Shadows for selected layers. Press AA to show Material
Options properties in the Timeline panel.