Quantum mechanics is the science of the very small. It explains the behavior of matter and its interactions with energy on the scale of atoms and subatomic particles. By contrast, classical physics explains matter and energy only on a scale familiar to human experience, including the behavior of astronomical bodies such as the Moon. Classical physics is still used in much of modern science and technology. However, towards the end of the 19th century, scientists discovered phenomena in both the large (macro) and the small (micro) worlds that classical physics could not explain. The desire to resolve inconsistencies between observed phenomena and classical theory led to two major revolutions in physics that created a shift in the original scientific paradigm: the theory of relativity and the development of quantum mechanics. This article describes how physicists discovered the limitations of classical physics and developed the main concepts of the quantum theory that replaced it in the early decades of the 20th century. It describes these concepts in roughly the order in which they were first discovered. For a more complete history of the subject, see History of quantum mechanics.In 1885 the Swiss mathematician Johann Balmer discovered that each wavelength λ (lambda) in the visible spectrum of hydrogen is related to some integer n by the equationBohr theorized that the angular momentum, L, of an electron is quantized:In the case of a helium atom with two electrons in the 1s orbital, the Pauli Exclusion Principle requires that the two electrons differ in the value of one quantum number. Their values of n, l, and ml are the same. Accordingly they must differ in the value of ms, which can have the value of +1⁄2 for one electron and −1⁄2 for the other.'Sometimes we distinguish between quantum mechanics (QM) and quantum field theory (QFT). QM refers to a system in which the number of particles is fixed, and the fields (such as the electromechanical field) are continuous classical entities. QFT ... goes a step further and allows for the creation and annihilation of particles ... Quantum mechanics is the science of the very small. It explains the behavior of matter and its interactions with energy on the scale of atoms and subatomic particles. By contrast, classical physics explains matter and energy only on a scale familiar to human experience, including the behavior of astronomical bodies such as the Moon. Classical physics is still used in much of modern science and technology. However, towards the end of the 19th century, scientists discovered phenomena in both the large (macro) and the small (micro) worlds that classical physics could not explain. The desire to resolve inconsistencies between observed phenomena and classical theory led to two major revolutions in physics that created a shift in the original scientific paradigm: the theory of relativity and the development of quantum mechanics. This article describes how physicists discovered the limitations of classical physics and developed the main concepts of the quantum theory that replaced it in the early decades of the 20th century. It describes these concepts in roughly the order in which they were first discovered. For a more complete history of the subject, see History of quantum mechanics. Light behaves in some aspects like particles and in other aspects like waves. Matter—the 'stuff' of the universe consisting of particles such as electrons and atoms—exhibits wavelike behavior too. Some light sources, such as neon lights, give off only certain frequencies of light. Quantum mechanics shows that light, along with all other forms of electromagnetic radiation, comes in discrete units, called photons, and predicts its energies, colors, and spectral intensities. A single photon is a quantum, or smallest observable amount, of the electromagnetic field because a partial photon has never been observed. More broadly, quantum mechanics shows that many quantities, such as angular momentum, that appeared continuous in the zoomed-out view of classical mechanics, turn out to be (at the small, zoomed-in scale of quantum mechanics) quantized. Angular momentum is required to take on one of a set of discrete allowable values, and since the gap between these values is so minute, the discontinuity is only apparent at the atomic level. Many aspects of quantum mechanics are counterintuitive and can seem paradoxical, because they describe behavior quite different from that seen at larger scales. In the words of quantum physicist Richard Feynman, quantum mechanics deals with 'nature as She is – absurd'. For example, the uncertainty principle of quantum mechanics means that the more closely one pins down one measurement (such as the position of a particle), the less accurate another measurement pertaining to the same particle (such as its momentum) must become. Thermal radiation is electromagnetic radiation emitted from the surface of an object due to the object's internal energy. If an object is heated sufficiently, it starts to emit light at the red end of the spectrum, as it becomes red hot. Heating it further causes the color to change from red to yellow, white, and blue, as it emits light at increasingly shorter wavelengths (higher frequencies). A perfect emitter is also a perfect absorber: when it is cold, such an object looks perfectly black, because it absorbs all the light that falls on it and emits none. Consequently, an ideal thermal emitter is known as a black body, and the radiation it emits is called black-body radiation. In the late 19th century, thermal radiation had been fairly well characterized experimentally. However, classical physics led to the Rayleigh–Jeans law, which, as shown in the figure, agrees with experimental results well at low frequencies, but strongly disagrees at high frequencies. Physicists searched for a single theory that explained all the experimental results. The first model that was able to explain the full spectrum of thermal radiation was put forward by Max Planck in 1900. He proposed a mathematical model in which the thermal radiation was in equilibrium with a set of harmonic oscillators. To reproduce the experimental results, he had to assume that each oscillator emitted an integer number of units of energy at its single characteristic frequency, rather than being able to emit any arbitrary amount of energy. In other words, the energy emitted by an oscillator was quantized. The quantum of energy for each oscillator, according to Planck, was proportional to the frequency of the oscillator; the constant of proportionality is now known as the Planck constant. The Planck constant, usually written as h, has the value of 6.63×10−34 J s. So, the energy E of an oscillator of frequency f is given by To change the color of such a radiating body, it is necessary to change its temperature. Planck's law explains why: increasing the temperature of a body allows it to emit more energy overall, and means that a larger proportion of the energy is towards the violet end of the spectrum. Planck's law was the first quantum theory in physics, and Planck won the Nobel Prize in 1918 'in recognition of the services he rendered to the advancement of Physics by his discovery of energy quanta'. At the time, however, Planck's view was that quantization was purely a heuristic mathematical construct, rather than (as is now believed) a fundamental change in our understanding of the world.