Q: Given a scientific question, generate a correct answer to it.
X rays and what other type of electromagnetic wave has the shortest wavelengths and the highest frequencies?
A:
gamma rays