What do we mean by wavelength of EMW? Wavelength of oscillating electric field or the oscillating magnetic field? Or is it that both the electric and magnetic field waves have same wavelength? If yes... Why should they have same wavelength?

P.S. : I just gave a superficial knowledge of electromagnetic radiation and waves