To generate solar energy, the photons radiated from the sun to earth must be collected, converted into a usable format and then delivered to an electronic device or the electric grid. Arrays of photovoltaic cells are normally used to collect the energy from the sun and convert it into electricity.