an x ray is a kind of electromagnetic wave & electromagnetic energy travels as electromagnetic waves ->  x-rays are a kind of electromagnetic energy  x-rays are a kind of electromagnetic energy & ultraviolet light is a kind of electromagnetic energy -> x-rays and ultraviolet light are both electromagnetic energy