The linear overlapping of two atoms' atomic orbitals results in the formation of a sigma bond. The overlap of electrons in a pi bond happens both above and below the axis connecting the nuclei of two atoms.