Solar panels generate electricity. They are extended from a satellite and turned to catch sunlight. The power must be converted to a usable form, usually alternating current.
This question allows so many answers that one wonders what you are trying to ask.