Dear Student,
X-rays are electromagnetic radiation which has wavelengths between about 0.02 Å and 100 Å (1Å = 10-10m).
X-rays are used as diagnostic tool in medicines. These rays are produced when high energy electrons are suddenly stopped on metal of high atomic number and by the radio active decay of nucleus.
Regards