Heat transfer by conduction and convection works by particles colliding and transferring energy, as there are no particles in a vacuum heat transfer can only occur by radiation. This is because radiation involves electromagnetic waves, not particles, and is therefore able to transmit heat across a vacuum.