The energy levels that are available to atoms and molecules are described by a quantum number.
In order to explain its state and provide solutions to the Schrödinger wave equation for the hydrogen atom, an electron in an atom or ion has four quantum numbers.
The four quantum numbers are as follows:
Principal quantum number
Azimuthal quantum number
Spin quantum number
Magnetic quantum number
Magnetic quantum number
One of the four quantum numbers that describe an electron's position in relation to the nucleus is its magnetic quantum number.
The number of orbitals and their orientation within a particular sub-shell is principally determined by the magnetic quantum number.
It is dependent on the azimuthal quantum number, also referred to as the azimuthal orbital angular momentum quantum number.