Electromagnetic energy travels through space from the Sun to the top of Earth’s atmosphere by