All the solar energy is generated in the core by nuclear fusion. Around the core there is the radiative zone. ... It extends from a depth of 200,000 km up to the visible surface of the Sun. Energy is transported by convection in this region. The surface of the convection zone is where light (photons) is created.
Guess and check, test, trial and error, completion.
A negative ion or anion is an electrically charged atom or group of atoms that are formed by gaining one or more electrons. Whereas a positive ion or cation is an electrically charged atom or group of atoms that are formed by losing one or more electrons.
The losing and gaining all occurs on the outermost shell.