Question: how are electromagnetic waves formed?
Answer: Electromagnetic waves are formed when an electric field (which is shown in blue arrows) couples with a magnetic field (which is shown in red arrows). Magnetic and electric fields of an electromagnetic wave are perpendicular to each other and to the direction of the wave.