Radio waves and x-rays are a type of light.
Radio waves definition (according to Britannica), is, “radio wave, wave from the portion of the electromagnetic spectrum at lower frequencies than microwaves. The wavelengths of radio waves range from thousands of metres to 30 cm. These correspond to frequencies as low as 3 Hz and as high as 1 gigahertz (109 Hz).”
And the definition of x-rays (also according to Britannica), is, “X-ray, electromagnetic radiation of extremely short wavelength and high frequency, with wavelengths ranging from about 10−8 to 10−12 metre and corresponding frequencies from about 1016 to 1020 hertz (Hz).”
Which basically is what a light is.