Answer the following question given this paragraph: 

Electromagnetic waves consist of vibrating electric and magnetic fields. They transfer energy across space as well as through matter. Electromagnetic waves vary in their wavelengths and frequencies, and higher-frequency waves have more energy. The full range of wavelengths of electromagnetic waves is called the electromagnetic spectrum. It is outlined in the following Figure below .


Q: What kind of waves consist of vibrating electric and magnetic fields?


A:
electromagnetic waves