This lecture uncovers the basic science of semiconductor devices and solar cells, including p-n junction and photovoltaic effects. Also, it explains the phenomenon of Shockley-Queisser limit.