The two electrons present in an orbital have opposite spin.
According to orbital overlap concept, the formation of a covalent bond between two atoms results by pairing of electrons present in the valence shell having opposite spins.