according to MOT each energy level can be occupied by 2
electrons which must have opposite spins these pairs of electrons
considered to occupy molecular orbital. so molecular orbital is
formed from the overlap of the atomic orbitals of the atoms making
up the bond.