X-rays are part of the electromagnetic spectrum, with wavelengths shorter than visible light.
Different applications use different parts of the X-ray spectrum.