We combine structural biology (mainly X-ray crystallography) with biochemical and spectroscopic approaches to understand the molecular mechanisms of flavin photoreceptors.