At the heart of a PEC cell is a semiconductor material that absorbs light and generates electron-hole pairs. When light hits the semiconductor, electrons are excited from the valence band to the conduction band, leaving behind holes. These electron-hole pairs are then separated and driven towards different electrodes, where they partake in redox reactions facilitated by catalysts.