How does Solar Energy Generate Power?

Solar energy can be converted by a solar cell directly into electricity. This electricity can supply power. Also, we can capture the thermal energy from the sun by allowing it to heat water. The hot water can be used to supply power.