How is electromagnetic radiation produced on the sun?