This lecture provides an introduction to optogenetics, a biological technique to control the activity of neurons or other cell types with light.