X-rays used not only in hospitals and clinics. Most of them, of course, linger in the high layers of the earth's atmosphere.
What do x-rays do?
Scientists photograph stars and galaxies not only in visible light, but also in x-rays. Such surveys are carried out from artificial Earth satellites located outside the atmosphere of the earth.
Using radiography of the Universe, scientists were able to find out that in space there are a lot of objects that do not emit light in the visible spectrum. Nobody had ever seen them before or guessed about their existence. But it turned out that many such cosmic bodies emit in the range of X-rays and can be photographed and thus detected. So black holes were discovered.
Black holes and x-rays
It is believed that black holes are cosmic bodies of such high density and mass, which means that they have such a high gravitational force that even visible light does not have enough energy to escape from the "iron" arms of gravity. And since the body does not emit light, then no one sees it and it looks black against a background of universal blackness. Cosmic dust and gases are attracted by a black hole and pressed on its surface. At the same time, they are heated to very high temperatures. Hot objects emit light energy.
The hotter the object, the more energy its radiation carries.The dust and gas attracted by the black hole are heated to such monstrous temperatures that they begin to radiate in the range of x-rays. This is their last cry, which they emit before they calm down forever in the bowels of a black hole.