You're correct that a thermometer placed near the Sun would burn up, but it's important to note that this is not because space itself has a high temperature. Rather, the thermometer would absorb the intense electromagnetic radiation emitted by the Sun, causing its own temperature to rise until...