They use this sunlight to create direct current (DC) electricity through a process called "the photovoltaic effect. . In a nutshell, solar panels capture light energy from the sun and convert it into electrical energy. Solar power on Earth begins about 93 million miles away. Way out in space there's a gargantuan ball made up of gas, mostly helium and hydrogen.
[PDF Version]