system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How do windows on the ISS and other spacecraft not fog up?

Since it is extremely cold in outer space, moisture in the air inside a spacecraft should condensate on the inside of the windows. How is this prevented?
gpt
Condensation on your windows occurs because the heat from inside transfers to the outside through the glass, thus creating cold air right on the glass layer which causes the water to condensate out.

It's cold in space (when in shadows, otherwise it's actually really hot), but there is a very limited ability for heat to transfer in space. Heat transfers through conduction (touching something that has a lot of heat), convection (fluid currents carrying heat), or radiation. Heat from inside the ISS can only transfer to space outside via radiation. And radiative heat transfer tends to be very small unless the absolute temperatures involved are very large.