Cosmic rays have the highest frequency.
Cosmic rays are the highest-energy particles that reach Earth from outer space. They are mostly protons, but also include heavier nuclei and electrons. Cosmic rays are thought to be accelerated by supernova explosions and other energetic events in space.
X-rays are a type of electromagnetic radiation with a wavelength shorter than that of visible light but longer than that of gamma rays. X-rays are used in medicine for diagnosis and treatment, as well as in industry for non-destructive testing.
Radio waves are a type of electromagnetic radiation with a wavelength longer than that of visible light but shorter than that of microwaves. Radio waves are used for communication, broadcasting, and navigation.
Microwaves are a type of electromagnetic radiation with a wavelength longer than that of radio waves but shorter than that of infrared light. Microwaves are used for cooking, communication, and radar.
The frequency of a wave is the number of waves that pass a given point in a given amount of time. The higher the frequency, the shorter the wavelength. Cosmic rays have the highest frequency and the shortest wavelength of all the types of electromagnetic radiation.