Electromagnetic waves do not require material medium for propagation. Radiowaves have the longest wavelength but the least frequency.
Gamma ray has the shortest wavelength but the highest frequency.
The gamma rays and x-rays due to their high frequency, they can disturb the medium they pass through. They have high energy that can cause damage to the matter the come across.