Answer:
as it travel through the space it behave like a wave and has an oscillating electric field components and an oscillating magnetic field
Electromagnetic waves are created by a charged particle that generates an electric field. The electric field creates a magnetic field. As the charged particle moves, the electric field and magnetic field keep changing, which causes the wave to move.