I'm definitely no physics expert either and basically parroting things I've heard from a lot smarter people. Scott Manley has a great video on youtube about it. https://www.youtube.com/watch?v=FlQYU3m1e80
There are ways to cool things in space it's just not as simple as space is cold and so stick the hot thing in the cold. It takes special ways to radiate the heat into empty space.