Solar power plants strive to convert sunlight into electricity , either directly using photovoltaics ( PV ) , or indirectly using concentrated solar power ( CSP ) . Solar power is the conversion of sunlight into electricity , either directly using photovoltaics ( PV ) , or indirectly using concentrated solar power ( CSP ) .