The thermally conveyed plasma at the sun's
outer layer generates electric currents.
Not exact matches
When photons (light particles) from the sun smash into the
outer layer of the rooftop cell, they initiate the photovoltaic effect — a cascade of reactions across the charged
layers, ultimately
generating usable power.
That
outer layer would have dragged against the liquid interior,
generating friction and a very strong magnetic field (SN Online: 12/4/14).
The energy released now heats the gas till it becomes an ionised plasma due to the high Temperature, the escape of this centraally
generated energy to the suface of the «cloud», now a proto star will eventually stop the collapse as the
outer layers also heat, and the
outer plasma will become opaque to the EM radiation generted at the million degree buring interface.