system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does the heat of the sun reach earth even though space is a cold void? How does it reach us through space?
gpt
There's three ways heat can be transferred. Conduction, which is heat traveling by contact. Convection, which is heat moving around as hot fluids rise. And lastly radiation, which is heat transfered through light. Light has no problem going through a vacuum. 


Radiation is how the sun heats the earth. The entire spectrum heats the earth including infrared and ultraviolet, but the sun peaks it's output in the visible light spectrum (by no coincidence really). 


It's no different than you sitting by a fire and feeling the heat on you. That heat isn't because of the air between you and the fire, that's heat from the radiation (light, though not necessarily visible, fire emmit more infrared).