Bioluminescence-light emitted by a luciferase enzyme oxidizing a small-molecule substrate, a luciferin-can be harnessed to activate photosensory proteins, thereby adding another dimension to light stimulation and enabling the manipulation of a multitude of light-mediated functions in cells across temporal and spatial scales.