system
Given the following post, respond as if you're commenting on Reddit:
human
If there is nothing in space, how do spacecraft not constantly overheat when they have nowhere to dump their heat?
gpt
Everything that exists produces radiation caused by its temperature. Radiation is a form of energy, just like temperature, so by producing radiation, which travels away from the thing, it loses energy and therefore the temperature decreases. 

So long as it loses energy at the same rate as it absorbs energy from stars or produces energy itself, it won't overheat.