Electromagnetic waves are produced by accelerated or oscillating charges and do not need any medium for propagation. The source of energy of these waves are energy of oscillating charge particle. Mathematical expressions for electric and magnetic fields of an electromagnetic wave propagating along the z-axis are-
Ex=E0sin[kz−ωt]
By=B0sin[kz−ωt]
Properties of electromagnetic waves are-