Because no particles are involved, radiation can work through the vacuum of space. This is why we can still feel the heat of the Sun even though it is 150 million km away from the Earth.
This clip shows how a vacuum flask prevents heat loss. Detail of the design of the flask to prevent conduction, convection, radiation and evaporation is given. This includes the vacuum ...