Minecraft wiki entry for Sun, associated text: Illumination decreases with depth underground until ultimately there is no illumination all. A gap or a vertical shaft in the ceiling of a cavern allows sunlight to filter in.