X-rays and ultraviolet radiations are electromagnetic waves with shorter wavelengths than violet light.
UV rays have a wavelength of 100 \(\overset{\circ }{\mathop{A}}\,\) to 4000\(\overset{\circ }{\mathop{A}}\,\)
X-rays have a wavelength of 0.1 \(\overset{\circ }{\mathop{A}}\,\) to 100 \(\overset{\circ }{\mathop{A}}\,\)
Ultraviolet rays are used to test the cleanliness of jewels, eggs, and ghee, among other things.
X-rays are used to diagnose fractures in bones, teeth, and other structures.