But the electron can be taken not only as a particle, but also as a de Broglie wave (wave of matter) which interferes with itself. The orbit is only stable, if it meets the condition for a standing wave: The circumference must be an integer multiple of the wavelength. The consequence is that only special values of radius and energy are allowed. The mathematical appendix explains how to calculate these values.

According to classical electrodynamics, a charge, which is subject to centripetal acceleration on a circular orbit, should continuously radiate electromagnetic waves. Thus, because of the loss of energy, the electron should spiral into the nucleus very soon. By contast, an electron in Bohr's model emits no energy, as long as its energy has one of the above-mentioned values. However, an electron which is not in the lowest energy level (n = 1), can make a spontaneous change to a lower state and thereby emit the energy difference in the form of a photon (particle of light). By calculating the wavelengths of the corresponding electromagnetic waves, one will get the same results as by measuring the lines of the hydrogen spectrum.

You must not take the idea of electrons, orbiting around the atomic nucleus, for reality. Bohr's model of the hydrogen atom was only an intermediate step on the way to a precise theory of the atomic structure, which was made possible by quantum mechanics and quantum electrodynamics.