In atomic theory and quantum mechanics, an atomic orbital is a quantum number. Each such orbital can be occupied by one or two electrons. The way orbitals are arranged is related to the electron configurations of atoms. They were derived from descriptions provided by early spectroscopists of certain alkali metal spectroscopic lines as being sharp, principal, diffuse, and fundamental.