photovoltaic cells convert sunlight into electricity. the steam is converted into mechanical energy and produces electricity. solar thermal
more specifically when sunlight hits the photovoltaic cells, the cells absorb photons of light and release there own electrons.