How is Solar Energy Generated?

If you mean electrical energy from the sun, it is made by exposing a photo voltaic cell to light. The cell translates the light energy into electrical energy that travels through the connections in a solar panel to a battery or to a converter to be used immediately.