It all depends on where you are in space. If you're in the shadows, away from any direct sunlight, it's going to be really cold. But if you're near a star or a black hole, it can get really hot. It's like being in a car on a sunny day - if you're in the shade, it's cool, but if you're in the direct sunlight, it can get scorching hot!
And then there's the Cosmic Microwave Background Radiation (CMB) to consider. This is like the residual heat from the Big Bang, and it's all around us. The CMB is about 2.7 degrees Kelvin, which is pretty close to absolute zero. That's even colder than the coldest place on Earth - Antarctica!
LES ASTRONEWS de planetastronomy
But what's really cool (get it?) is that space is full of temperature extremes. You can have a star that's millions of degrees hot, right next to a black hole that's near absolute zero. It's like having a fire and ice right next to each other - it's a pretty wild and amazing place!