A solar cell converts light into electricity via the photovoltaic effect. When light reaches the p-n junction of a semiconductor, electron-hole pairs are created which generate a voltage across the junction. The newly created electrons and holes are separated to the n-type and p-type sides respectively due to the junction's barrier potential, creating a small current flow if a load is connected. Common semiconductor materials used in solar cells include silicon, gallium arsenide, cadmium telluride, and copper indium selenide due to their band gaps close to 1.5 electronvolts.