The invention of quantum physics, notably the Bohr model of the atom, was able to explain this gap between the classical prediction and the actual reality. The Bohr model proposed that transitions between distinct energy levels, which electrons could only inhabit, might account for the observed spectral lines of atoms. The wave-like properties of electrons and the idea of energy quantization were used to explain the stability of these electron orbits.