Bohr developed a different model of the atom to account for quantum physics, and the spectra of elements. The Bohr atom is similar to Rutherford atom, except the electrons moved in fixed or quantized orbits.
The quantized orbits of the electrons allows for a simple explanation of the origin of photons, and the spectrum of light. Photons are produced by the transition of electrons downward in their orbits. A downward transition releases potential energy in the form of a light particle, a photon. Likewise, photons could be absorbed by electrons, and they move upward in their orbits.