Question: what are electromagnetic waves produced by?
Answer: An electromagnetic wave can be created by accelerating charges; moving charges back and forth will produce oscillating electric and magnetic fields, and these travel at the speed of light.