Also, When an electron makes a transition from a higher energy state to a lower energy state, electromagnetic waves. Thus electromagnetic waves are produced waves are produced. Energy states are fixed energy; they can have only the fixed energy levels that and electron in an atom can have. Electrons cannot have arbitrary amounts of energy; they can have only the fixed energies corresponding to different energy levels.Electrons can jump or make a transition between energy levels. When an electron jumps to a lower energy state, it gives out energy in the form of electromagnetic radiation.
The greater the energy change of the oscillating charge or jumping electron, the greater the frequency of the electromagnetic wave produced and the shorter the wavelength.