Channelrhodopsin-2 (ChR2) from the green alga Chlamydomonas reinhardtii functions as a light-gated cation channel that has been developed as an optogenetic tool to stimulate specific nerve cells in animals and control their behavior by illumination.