One of the 50 questions in this topic
Turning on the 3D switch for a layer gives it properties in the Z axis (depth) and can interact with 3D lights and cameras in the composition.