Radio waves have the lowest frequency in the electromagnetic spectrum. Microwaves are between radio waves and infrared in the spectrum. Ultraviolet radiation causes sunburn. X-rays are used to image bones in the body. Gamma rays and x-rays have the highest energy and can damage cells and potentially cause cancer in high doses due to their high penetration power.