Answer:
-Changing electric and magnetic fields
Step-by-step explanation:
Electromagnetic forces from the sun are formed when electric charges change their potential energy.
This electromagnetic forces are produced at different wavelengths across across the EM spectrum.
The sun also emits x-rays during solar flares.
The absorbed energy causes one or more electrons to change their location and get replaced by absorbed energy.