Optogenetics uses light to control brain processes. It is based on light-controlled proteins such as channelrhodopsin-2, an ion channel that opens when it's exposed to light, thus activating cellular processes. The researchers have now shed light on its mode of action.